Twenty-two calculators, and the working underneath
Fractions with the common denominator written out, every kind of average from one paste, roots simplified the way the exercise asks for them, logarithms to any base, long division and long multiplication in the written layout, a number line you can print, and the five percentage tools people get wrong: discounts that chain, margin against markup, tax added and taken back off, cash rounding, and price per kilo.
Half of these show their working, because the answer was never the hard part. Somebody looking up 3/4 + 2/5 has the answer on the phone in their hand; what they do not have is the twenty, the two expansions and the cancelling — and without those the homework cannot be handed in.
None of the arithmetic is done in floating point. Fractions are exact rationals, money is exact decimal, and a root or a logarithm is computed digit by digit in integer arithmetic to however many places you ask for, with the tool saying whether it landed exactly or stopped. Everything runs inside this browser tab, compiled to WebAssembly; there is no server to send anything to.
Fractions and ratios
Lists and averages
Powers and roots
Shown working
Prices and percentages
To print
Questions
- Why does this round differently from my spreadsheet?
- Because it is not using floating point. A spreadsheet stores 2.675 as a binary fraction very slightly below 2.675, so rounding it to two places gives 2.67. These tools keep the digits you typed, which gives 2.68. The same difference is why a column of prices adds up to the penny here.
- Is thirty per cent off and then twenty per cent off the same as fifty?
- No — it is forty-four per cent off, because the second discount comes off what is left rather than off the original. The discount tool shows both numbers side by side for exactly that reason, and the margin and tax tools do the same for the two other percentage traps.
- Can I see how the answer was reached?
- For most of them, yes, and it is generated from the same steps the calculation takes rather than reconstructed afterwards. The fraction calculator shows the common denominator, the proportion solver shows the cross-multiplication, and long division and long multiplication produce the written layout rather than just the number.
- Is what I type uploaded anywhere?
- No. The tools are compiled to WebAssembly and run inside the browser tab. Nothing you type is sent to a server, and you can watch your browser's network panel while you use one to see that nothing leaves the page.