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.

Get Started

The Calculator is a special command. It's always available in Root Search. Type any expression and you'll see it 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 are shown 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.

More Units and Expressions

  • Convert more specialized units, like 1 chain in yards, 491.67 rankine in celsius, 30 dBm in watts, 1 L/s in gpm, 1 US legal cup in milliliters, or 1 nibble in bits.
  • Convert heights, paces, and musical notes, like 6′2″ to m for 1.8796 m, 13:24 min/mile in mph for about 4.48 mph, or c4 to hz for about 261.63 Hz.
  • Combine units in one expression, like 3 kg * 2 m for 6 kg·m, 5 N in kg*m/s^2, or 1 astronomical unit / speed of light in minutes for about 8.32 minutes.
  • Estimate how long a transfer takes, like transfer 1 TB at 100 Mbps for 22 hours 13 min 20 s.
  • Break durations down, like 1 fortnight in days, 100 months in years and months, or 90 seconds to mixed.
  • Turn a decimal into a fraction, like 1.75 as fraction for 1 ¾ or 1.75 as improper for 7/4, or write a fraction as a mixed number, like 7/4 as mixed for 1 ¾.
  • Look up a week by number, like week 44 2026 for Oct 26 – Nov 1, 2026.
  • Count days from or to a month, like days since march or days until december, or what's left of this one, like days left in this month or workdays left in this month. Workdays count weekdays only and don't account for holidays.
  • Work out the time between two clock times, like 10pm to 2am, or between two Unix timestamps, like from 1700000000 to 1700003600 for 1 hour.
  • Get one value as a percentage of another, even in different units, like 750 m as % of 3 km, or turn a fraction into a percentage, like 1/8 is what % for 12.5%.
  • Handle everyday money math. 15% tip on $80 gives the $92.00 total including tip, 20% vat in 120 gives 20, 25% off $60 split 3 gives $15.00 each, and 15% decrease from 813 gives 691.05.
  • Calculate compound interest, like $1000 at 5% for 10 years compounded annually for $1,628.89.
  • Use functions like round(123.456, -1) for 120, min(3, 5), sum(1, 2, 3), or gcd(48, 18). They work with units too: max(2 hours 30 min, 200 min) gives 3 hours 20 min.
  • Round to a decimal place, like 3.14159 to nearest hundredth for 3.14, or convert a number to other bases, like 255 to base 7 for 513.
  • Write currencies by name, like won or rupiah, use zl for Polish złoty, and convert into minor units like cents, pence, or euro cents.

Weather

Check the forecast without opening another app. Type weather in London in Root Search, or weather here for where you are. You can also type weather today or weather now, and weather in 4 hours shows the forecast for up to 12 hours ahead.

The card shows the current temperature and condition with the day's high and low. When you ask about wind or precipitation, it shows those details instead. Below that, you'll see up to eight hourly entries under Today, or daily entries under This Week.

You can also ask for a single value, like high temperature in paris or humidity in paris, and convert weather values, like wind in paris in km/h. Which details are available can depend on the weather provider on your platform. These queries need Enable Weather turned on in Settings.

Weather for your current location needs location access. If permission is denied, location services are off, or the lookup times out, the card shows an error.

  • Open in Weather (↵): open the full forecast.
  • Copy Answer: copy the weather result to your clipboard.

Flight Tracker

Follow a flight right from Root Search. Type the airline code and flight number with no space, like BA1444. For a code with a space or one Raycast doesn't recognize as a designator, start with flight, like flight ba 1444 or flight 6e5. To look up another day, add a date: AY068 tomorrow or AY068 on 19 oct 2027.

The card shows the origin and destination airports, departure and arrival times in each airport's local time zone, and the flight's status, including any delay. While Raycast looks the flight up, the card says it's looking it up. If nothing matches, the card says no flight was found, and if the lookup fails, it says it couldn't look the flight up.

  • Open Flight Tracker (↵): open the flight.
  • Copy Flight Code: copy the flight code to your clipboard.
  • Copy Arrival Time: copy the arrival time to your clipboard.

Travel Time

See how long a trip takes before you leave. Type time from Paris to Lyon or time between Paris and Lyon. Leave out the starting point, like walking time to Paris, or use here, and Raycast starts from your current location. This needs location access.

The card shows the route with walking, driving, and public transport estimates and highlights the fastest mode. If a mode isn't available for that route, the card says so. To see only one mode, name it, like time to Paris by car or Paris to Lyon by public transport. When the destination is in another time zone, the card can also show its local-time offset. To turn Travel Time off, disable Enable Travel Time in Settings.

  • Open in Maps (↵): open the route in Maps.
  • Copy Travel Time: copy the travel time to your clipboard.
  • Paste Travel Time: paste the travel time into the active app.
  • Copy Travel Details: copy the travel details to your clipboard.

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() 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).

A color name such as red on its own isn't previewed, so it doesn't get in the way of your other searches. Names do work inside expressions, like tomato at 50%. When a color answer is close to a CSS color name, Raycast shows that name too, like Tomato. Color Conversion needs Enable Color Conversion turned on in Settings.

Convert Between Formats

Type a color followed by as, in, or to and a format, and the converted value appears as the answer. For example, type #12F999 as rgb, #12F999 as oklch, or #12F999 as cmyk.

You can convert to hex, hex with alpha, rgb, rgba, hsl, hsla, hwb, lab, lch, oklab, oklch, hsv, hsb, cmyk, nscolor, and uicolor.

Raycast also reads color() values as input. You can't convert to color().

Change Opacity

Set a color's opacity with at. tomato at 50% gives #FF634780. The new opacity replaces any opacity the color already has.

Adjust and Mix Colors

  • Lighten, darken, saturate, or desaturate a color, like lighten #12F999 by 10% for #44FAAE. darken, saturate, and desaturate work the same way. Each changes the color by the amount you give, or by 10 points if you leave out by.
  • Invert a color, like invert #12F999 for #ED0666.
  • Get the opposite hue, like complementary rebeccapurple for #669933.
  • Mix two colors joined by and, like mix red and blue for #800080 or mix 30% red and blue for #4D00B3.

Check Contrast

See whether two colors are readable together. Type contrast followed by two colors joined by on. The answer shows the ratio and a rating:

  • AAA: 7:1 or higher
  • AA: 4.5:1 or higher
  • AA Large: 3:1 or higher
  • Fail: below 3:1, like contrast #fff on #12F999 for 1.4:1 Fail

Read Color Values

Get a single value from a color with hue, saturation, lightness, red, green, blue, alpha, opacity, or luminance followed by of and the color.

These values are numbers, so you can use them in math, like hue of #12F999 + 180 for 335.06°. Colors themselves can't be used in arithmetic.

Nest Operations

Put one color operation inside another with parentheses, like lighten (complementary #12F999) by 10% for #FA4490.

Actions

With a Calculator result selected, press ⌘K / CtrlK to open the Action Panel. Alongside the copy and paste actions in Keyboard Shortcuts, you'll find:

  • Show History: browse your past calculations. Raycast keeps them for three months.
  • Put Answer in Search Bar: place the answer in the search bar.
  • Swap Units: swap the source and target units of a conversion.
  • Refresh Currencies: refresh currency exchange rates.

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 → 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.
  • Enable Flight Tracker: Look up flights from Root Search. On by default.
  • Enable Weather: Show weather forecasts in Root Search. On by default.
  • Enable Travel Time: Estimate travel times between places in 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.

  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.