Calculations and conversions
2 min read
Type a calculation or conversion into the search window and the answer appears at the top, above the search results. Press ↩ to copy it.
Maths
1,240 * 1.171,450.80. Commas are read as thousands separators
15% of 8012
100 + 15%115
100 % 72. A percent sign between two numbers is a remainder
sqrt(2) * pi4.442882938
(4500 / 12) - 90285
You can use the constants pi, π, tau, e and phi anywhere a number is allowed, along with sqrt, abs, round, floor, ceil, ln, log, log2, exp and the trigonometric functions. Typing e on its own does not start a calculation, because it is more often the start of a word.
Units, currency and time
70 kg in lb154.32 lb
6ft2 in cm187.96 cm
180 c to f356 °F
45 usd in eurThe converted amount, the rate used, and the date of the rate
3pm in tokyoThe local time in Tokyo
1717171717A Unix timestamp as a date, in your time zone and in UTC
Number bases and colours
hex 2550xFF. The keyword is the format you want the result in
dec 0x1a26
bin 420b101010
#7348ABA colour swatch, with hex, RGB and HSL values
Developer tools
Each of these takes a keyword followed by the text you want to work on. Everything is processed on your Mac.
| Type | Result |
|---|---|
sha256 hello | The hash. md5, sha1, sha384 and sha512 also work |
base64 hello world | The encoded text. Use b64d or base64decode to decode |
urlcode a b&c | Percent-encoded text. It also decodes |
jwt eyJhbGciOi... | The header and claims, formatted, with the expiry date |
json {"a":1} | Formatted JSON, or the position of the syntax error |
uuid | A new UUID |
qr https://example.com | A QR code image |