Skip to main content

Calculator

Summon includes a powerful inline calculator that evaluates expressions as you type. No need to open a separate app — just type your calculation directly in the search bar.

Basic Usage

Type any mathematical expression in Summon:

Code
2 + 2
100 * 1.2
(50 + 25) / 3

Results appear instantly as you type. Press Enter to copy the result to your clipboard.

Supported Operations

Arithmetic

| Operation | Symbol | Example | |-----------|--------|---------| | Addition | + | 10 + 515 | | Subtraction | - | 10 - 55 | | Multiplication | * or × | 10 * 550 | | Division | / or ÷ | 10 / 52 | | Modulo | % | 10 % 31 | | Power | ^ or ** | 2^101024 | | Parentheses | () | (2 + 3) * 420 |

Functions

| Function | Example | Result | |----------|---------|--------| | Square root | sqrt(144) | 12 | | Cube root | cbrt(27) | 3 | | Absolute value | abs(-5) | 5 | | Ceiling | ceil(4.2) | 5 | | Floor | floor(4.8) | 4 | | Round | round(4.5) | 5 | | Natural log | ln(e) | 1 | | Log base 10 | log10(100) | 2 | | Log base 2 | log2(8) | 3 | | Sine | sin(pi/2) | 1 | | Cosine | cos(pi) | -1 | | Tangent | tan(pi/4) | 1 |

Constants

| Constant | Value | |----------|-------| | pi or π | 3.14159... | | e | 2.71828... | | tau | 6.28318... (2π) |

Implicit Multiplication

The calculator understands implicit multiplication:

Code
2pi            → 6.283... (2 × π)
3(4+5)         → 27
2x3            → 6

Percentage Calculations

Summon understands percentage operations:

Code
100 + 10%      → 110 (add 10%)
100 - 25%      → 75 (subtract 25%)
50% of 200     → 100
15% tip on 80  → 12

Unit Conversions

Convert between units by specifying the source and target:

Length

Code
5 miles to km      → 8.05 km
100 cm to inches   → 39.37 in
6 feet to meters   → 1.83 m

Weight

Code
10 kg to lbs       → 22.05 lbs
150 lbs to kg      → 68.04 kg
500 grams to oz    → 17.64 oz

Temperature

Code
100 F to C         → 37.78°C
0 C to F           → 32°F
373 K to C         → 99.85°C

Data

Code
1 GB to MB         → 1024 MB
500 MB to GB       → 0.49 GB
1 TB to GB         → 1024 GB

Time

Code
90 minutes to hours  → 1.5 hours
2.5 hours to minutes → 150 minutes
1 week to days       → 7 days

Currency Conversion

Convert between currencies with live exchange rates:

Code
100 USD to EUR     → ~92.50 EUR
50 GBP to USD      → ~63.25 USD
1000 JPY to USD    → ~6.70 USD

Supported currencies include USD, EUR, GBP, JPY, CAD, AUD, CHF, CNY, and many more.

Note: Currency conversion requires an internet connection to fetch current exchange rates. Rates are cached for 1 hour.

Timezone Conversion

Quickly check times in different timezones:

Code
3pm EST to PST     → 12:00 PM PST
10am GMT to IST    → 3:30 PM IST
now in Tokyo       → current Tokyo time

Keyboard Shortcuts

| Action | Shortcut | |--------|----------| | Copy result | Enter | | Copy expression + result | ⌘ + Enter | | Clear input | Esc |

Tips

Quick Tip Calculations

Type natural expressions for everyday calculations:

Code
20% tip on 85
split 120 by 4
15% of 230

Programmer Mode

Use binary, hex, and octal:

Code
0xFF           → 255
0b1010         → 10
0o77           → 63
255 to hex     → 0xFF

Scientific Notation

Handle very large or small numbers:

Code
6.022e23       → 6.022 × 10²³
1.6e-19        → 1.6 × 10⁻¹⁹