Skip to content
Core Features

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.

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.

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 m or 100 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 sf or time 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 625 or 2 power 10.
  • Convert a duration into a human-readable timespan, like 145 mins to timespan.
  • Plan your work week. For example, type workhours in 2023 or 55h 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 like sinh or acos.
  • Compare the time between you and a teammate. For example, type time diff Paris or the shortcut diff Paris.
  • Find out what time it'll be after a delay. For example, type time in 4 hours or time 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 + 5 for days or 3:45pm + 5 for hours.
  • Work out a discount. For example, type 20% off 80.
  • Write currency in shorthand. For example, type USD1K or 10K.
  • Look up times in cities, airports, and tourist destinations — including multi-word names like time in São Paulo or time in JFK.
  • Type now, today, tomorrow, yesterday, or time on 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 px or 32px in rem. Set how many pixels 1 rem or em equals in Settings.

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() and rgba(), like rgb(255, 99, 99) or rgb(255 99 99 / 50%)
  • hsl() and hsla(), like hsl(0 100% 69%)
  • hwb(), lab(), lch(), oklab() and oklch()

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.

  • ↵ 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

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.

The decimal separator used in the Raycast calculator is set by your system. If you want, you can change this.

  1. Open your system settings and choose Language and Region.
  2. Select Number format and set your preferred decimal separator and number grouping separator.
  3. Your changes will be available immediately in the Raycast calculator. If they aren't, restart Raycast.