Calculator
What's 3% of $123? In £? Invested at 7% after 3 years? No more guessing.
Raycast solves complex math expressions and supports time zones, unit conversions, dates, and currency — including crypto. The best thing is, it understands your natural language.
Get Started
The Calculator is a special command. It's always available in Root Search — just type any expression. You'll see your expression displayed on the left, and the answer on the right.
What Raycast Understands
The Calculator solves complex math expressions and supports time zones, unit conversions, dates, and currencies. Expressions now show with syntax highlighting so they're easier to read at a glance.
- Convert units and currencies like a breeze. For example, type
10ft in mor100 usd in gbp. - Get the % between two different values. For example, type
52% of 900. - Check the time of your teammates in different time zones. For example, type
5pm ldn in sfortime in tokyo. - Get the date for your next event, like
monday in 3 weeks. - Find out how many days are left in the quarter, like
days until 31 Mar. - Answer math questions like
square root of 625or2 power 10. - Convert a duration into a human-readable timespan, like
145 mins to timespan. - Plan your work week. For example, type
workhours in 2023or55h in workdays. - Convert sizes for design work. For example, type
2 inches in px at 72 ppi. - Solve advanced trigonometry, including
cot,csc, and their hyperbolic and inverse variants likesinhoracos. - Compare the time between you and a teammate. For example, type
time diff Parisor the shortcutdiff Paris. - Find out what time it'll be after a delay. For example, type
time in 4 hoursortime in 4 hours in San Francisco. - Add time to a city's clock and the answer stays in that city's time zone. For example, type
time in brisbane + 4 hours— this holds even across a daylight saving change. - Work with ISO 8601 timestamps in Zulu format, like
2024-03-15T14:30:00Z. - Add days or hours to a date. For example, type
August 5 + 5for days or3:45pm + 5for hours. - Work out a discount. For example, type
20% off 80. - Write currency in shorthand. For example, type
USD1Kor10K. - Look up times in cities, airports, and tourist destinations — including multi-word names like
time in São Pauloortime in JFK. - Type
now,today,tomorrow,yesterday, ortimeon its own in Root Search to get the date or time straight away. - Convert CSS units to pixels and back. For example, type
2rem in pxor32px in rem. Set how many pixels 1 rem or em equals in Settings.
Color Conversion
Type a color value in Root Search to preview it and copy it in another format. Raycast recognizes:
- Hex, like
#ff6363, including 3, 4 and 8 digit values rgb()andrgba(), likergb(255, 99, 99)orrgb(255 99 99 / 50%)hsl()andhsla(), likehsl(0 100% 69%)hwb(),lab(),lch(),oklab()andoklch()
Press ↵ on the result to open Copy Color as… and choose a format: Hex, Hex with Alpha, RGBA, RGBA (Percentage), RGB (CSS4), HSL, HSL with Alpha, HSL (CSS4), HWB, Lab, LCH, Oklab, Oklch, NSColor (macOS) or UIColor (iOS).
Color names such as red aren't converted, so they don't get in the way of your other searches.
Keyboard Shortcuts
- ↵ to copy the answer to your clipboard
- ⌘↵ / Ctrl↵ to paste the answer into the active app
- ⌥⌘C / CtrlAltC to copy the unformatted answer to your clipboard
- ⌥⇧⌘C / CtrlAltShiftC to copy the question and answer to your clipboard
Settings
Open Settings → Extensions → Calculator to configure the Calculator:
- Syntax highlighting: Color the parts of an expression so it's easier to read. On by default.
- Enable Color Conversion: Preview and convert color values from Root Search. On by default.
- REM/EM to Pixel Conversion: The number of pixels equivalent to 1 rem or em. Defaults to 16.
Decimal Separator
The decimal separator used in the Raycast calculator is set by your system. If you want, you can change this.
- Open your system settings and choose Language and Region.
- Select Number format and set your preferred decimal separator and number grouping separator.
- Your changes will be available immediately in the Raycast calculator. If they aren't, restart Raycast.