A calculator for developers

Estimate what an API costs at your traffic, size storage across users, convert between hex and binary, and turn an SLA into minutes of downtime. Named values read like pseudocode, and changing one updates everything below it.

Open the free web app

Or get the app for

Developers do a lot of back-of-the-envelope math: what a pricing tier costs at next quarter’s traffic, how much disk a feature adds, what 99.9% uptime allows. This calculator for developers lets you write it the way you would write pseudocode, with named values and units, and see the answer on each line instead of opening a REPL.

Each example shows what Notes Calculator answers. Choose Open in Notes Calculator under any of them to open it in the web app.

API cost at your traffic

Price per thousand requests is the usual unit. Name the traffic and the price, and the monthly bill follows.

API cost for 50k requests a day
NoteResult
requests per day = 50k 50,000
price per 1k = 0.02 USD $0.02
daily cost = requests per day / 1000 * price per 1k $1
Per 30-day month: daily cost * 30 $30

Storage across users

Multiply the user count by the average data per user and convert to the unit your provider bills in.

Storage for 100k users
NoteResult
users = 100k 100,000
users * 50 MB to TB 5 TB

Hex and binary

Convert a value between bases on one line each.

Hex and binary
NoteResult
255 to hex FF ₁₆
0xFF to binary 11111111 ₂

An SLA downtime budget

99.9% uptime leaves 0.1% of the period for downtime. Multiply the period by that share and convert it to minutes.

Downtime allowed at 99.9%
NoteResult
30 days * 0.1% to minutes 43.20 minutes
365 days * 0.1% to hours 8.76 hours

For number bases in more depth, see the hex, binary and octal guide, and for storage units, the byte converter guide. If you are choosing between notepad calculators, the comparisons cover Soulver, Numi and Parsify.

Start free at app.notescalculator.com, or see what Lifetime adds if you want unlimited notes synced across your machines.

FAQ

Questions from developers

Can variable names contain spaces?

Yes. requests per day = 50k defines one variable called requests per day, and later lines can use it by name. Underscores work too if you prefer requests_per_day.

Does it support hex, binary and octal?

Yes. Type 255 to hex or 0xFF to binary, and mix bases in one expression. The hex, binary and octal guide covers bitwise operators and more.

Are KB and KiB different?

Yes. KB, MB and GB are powers of 1,000, while KiB, MiB and GiB are powers of 1,024. The byte converter guide has the details.

Is there a dark theme and keyboard-first editing?

Yes. Notes Calculator has a dark theme, and you type everything as plain text, so you rarely need the mouse. It runs on macOS, Windows, Linux, iOS, Android and the web.

Try it on your own numbers.

Notes Calculator is free with one note, in your browser and on macOS, Windows, Linux, iOS and Android. Lifetime adds unlimited notes and sync.

Free forever plan · No credit card · Cross-platform