Instant answers
v0.9.7Type an expression, a unit conversion, or a relative date into drawer search and see the answer inline, without opening a calculator.
- Settings → Drawer → Calculator
Doing math
Typing an expression like 5-3 or 2*pi shows the answer inline. Settings → Drawer → Calculator is on by default. A query has to actually ask something, though: a bare number or a bare constant on its own — 42, or pi by itself — never answers, since typed alone those read as the start of an app name rather than a question, and an answer row would otherwise outrank the app and take over the Enter key. pi and e only evaluate inside a larger expression.
For the same reason, a chain of digit groups joined by - or / with nothing else around it is read as an identifier rather than a sum, whenever it has three or more groups, a group of three or more digits, or a group with a leading zero — which is what a phone number, a date, or a zero-padded code look like. 9-1-1, 2026-08-07, 555-1234, and 01/02 all fall into that net and don’t answer, since a contact search on the same text should win instead. A plain two-group chain with short, unpadded groups still answers as arithmetic — 5-3 and 3/4 work, and so do two-digit ratios like 24/7 or 12/25, which look no different from division. Putting a space around the operator always resolves it as arithmetic: 100 / 4 answers even though bare 100/4 does not, since a spaced query is no longer read as one of these bare chains at all.
Under the hood
groups = split(query, on = "-" or "/") # only for a query with no spaces
reads_as_identifier(query) =
length(groups) ≥ 3 # 9-1-1, 2026-08-07
or any(digit_count(g) ≥ 3 for g in groups) # 555-1234
or any(zero_padded(g) for g in groups) # 01/02
answer(query) =
nothing if query is a bare number or a bare constant
nothing if no spaces and reads_as_identifier(query)
evaluate(query) otherwise # 5-3, 3/4, 24/7, 12/25, 100 / 4, 2×pi
The digit-chain guard exists because contacts match on phone number, so an answer row there would outrank the person being looked for.
Converting units, including pace
Unit conversion covers families with a fixed ratio between units — length, mass, temperature, and similar — plus one special case: pace and speed. Since a pace (time per distance, like minutes per mile) and a speed (distance per time, like miles per hour) are reciprocals rather than a straightforward scaling of each other, converting between them inverts the number: 8 min/mi to mph gives 7.5 mph, and asking the reverse gives 8:00 min/mi back. A time-based pace reads and writes as minutes and seconds rather than a decimal, since nobody thinks of a pace as “8.5 minutes per mile.”
Relative dates
Typing 3 months from now, 10 days ago, in 2 weeks, or a shorthand like +3d, -2w, +1m, or -5y (day, week, month, year) answers with a full date and weekday, such as “Sunday, November 30, 2026.” Month and year arithmetic is calendar-accurate rather than a fixed number of days, so “1 month from Jan 31” lands on February 28 (or the 29th, in a leap year) the way a calendar app would answer, and a query that starts on a leap day clamps the same way one year later.
Limits
There’s no currency conversion — it would need live exchange rates, which an offline answer row doesn’t have.