Skip to content
All guides

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.17

1,450.80. Commas are read as thousands separators

15% of 80

12

100 + 15%

115

100 % 7

2. A percent sign between two numbers is a remainder

sqrt(2) * pi

4.442882938

(4500 / 12) - 90

285

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 lb

154.32 lb

6ft2 in cm

187.96 cm

180 c to f

356 °F

45 usd in eur

The converted amount, the rate used, and the date of the rate

3pm in tokyo

The local time in Tokyo

1717171717

A Unix timestamp as a date, in your time zone and in UTC

Number bases and colours

hex 255

0xFF. The keyword is the format you want the result in

dec 0x1a

26

bin 42

0b101010

#7348AB

A 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.

TypeResult
sha256 helloThe hash. md5, sha1, sha384 and sha512 also work
base64 hello worldThe encoded text. Use b64d or base64decode to decode
urlcode a b&cPercent-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
uuidA new UUID
qr https://example.comA QR code image