Free Math Calculator Online

Home / Tools / Math & Numbers

Math Calculators Online that show the working

Base conversion, prime factors, percentages, fractions, statistics, probability and sample sizes. Each one displays the intermediate steps, because the steps are usually the point.

11 tools here, 150+ across the site
decimal2026
binary11111101010
hex7EA
octal3752
Positional notation

Every base works the same way once you see the columns

Decimal 2026 is 2 thousands, 0 hundreds, 2 tens and 6 units. Binary does the same with powers of two rather than ten. Here is 2026 in binary, column by column.

11024
1512
1256
1128
164
132
016
18
04
12
01

Add the columns marked on: 1024 plus 512 plus 256 plus 128 plus 64 plus 32 plus 8 plus 2 gives 2026. That is the entire method, and it works identically for any base.

BaseDigitsWhere you meet it
Binary, 20 to 1Every digital circuit. Two states are easy to distinguish reliably at speed.
Octal, 80 to 7Unix file permissions. Three bits per digit maps exactly onto read, write and execute.
Decimal, 100 to 9Human counting, almost certainly because of fingers.
Hex, 160 to 9, A to FColours, memory addresses, hashes. One hex digit is exactly four bits, so a byte is always two digits.
Base64A to Z, a to z, 0 to 9, + /Not really a number base. An encoding for moving binary through text channels.
The common one

Three different questions, all called percentage

Most percentage confusion comes from not noticing which of these is being asked.

What is X percent of Yresult = Y × (X / 100)Twenty percent of 80 is 16. The straightforward one, and the only one most people are taught properly.
X is what percent of Yresult = (X / Y) × 10016 is 20 percent of 80. Used for conversion rates, market share and completion.
Percentage change from X to Yresult = ((Y − X) / X) × 10080 to 100 is a 25 percent rise. Note the denominator is the starting value, always.

The trap worth internalising: a 50 percent fall followed by a 50 percent rise does not return you to where you started. Drop 100 to 50, then add 50 percent of 50, and you land at 75. Percentage changes do not add, they multiply, which is why a stock down 50 percent needs to double to recover.

The other one is percentage points. Moving from 10 percent to 12 percent is a rise of 2 percentage points and a rise of 20 percent. Both are correct, they mean different things, and headlines routinely pick whichever sounds more dramatic.

Summarising data

Mean, median and the gap between them

The statistics calculator reports both, and the difference between them tells you something the numbers alone do not.

MeasureWhat it doesWhen it misleads
MeanSum divided by countDragged hard by outliers. One billionaire in a room changes average wealth and tells you nothing about anyone in it.
MedianMiddle value when sortedIgnores the shape of the tails entirely. Two very different distributions can share a median.
ModeMost frequent valueCan be absent, or there can be several. Rarely useful on continuous data.
Standard deviationTypical distance from the meanAssumes a roughly symmetric spread. On skewed data it implies a symmetry that is not there.
RangeMax minus minDetermined entirely by the two most extreme points, so a single error destroys it.

When the mean sits well above the median, the data is skewed right, which is the usual shape for income, house prices and response times. In those cases the median is the honest headline number. Sample size matters too. The sample size calculator uses the standard formula for a proportion at a given confidence level and margin of error, and the thing that surprises people is that the required size barely changes with population once the population is large. Polling 1,000 people gives roughly the same margin of error whether the country has five million residents or three hundred million.

Browse more

Other tool sets

Every category on ConvertNow, free and growing.

FAQ

Questions About the Math Calculators Online

On precision, statistics and the questions that sound simpler than they are.

Why does 0.1 plus 0.2 not equal 0.3?
Because binary floating point cannot represent 0.1 exactly, in the same way decimal cannot represent one third exactly. The result is 0.30000000000000004. It affects every language using IEEE 754, which is nearly all of them. For money, work in integer minor units such as pence rather than decimals.
What is the difference between percent and percentage points?
Moving from 10 percent to 12 percent is a rise of 2 percentage points and also a rise of 20 percent. Both statements are correct and they mean different things. Headlines routinely pick whichever sounds more dramatic, so it is worth checking which one is meant.
How large can numbers get before things break?
JavaScript handles integers exactly up to about 9 quadrillion, after which precision silently degrades. The prime factorisation and base conversion tools use exact integer methods within that range. Beyond it you need arbitrary precision arithmetic, which a browser tool is the wrong place for.
Should I report the mean or the median?
If the mean sits well above the median your data is skewed, which is the usual shape for income, house prices and response times. In that case the median is the honest headline number, because a single extreme value drags the mean somewhere no actual data point lives.
What sample size do I need for a survey?
At 95 percent confidence and a 5 percent margin of error you need roughly 384 responses. The surprising part is that this barely changes with population size once the population is large, so polling a country of 300 million needs about the same sample as one of 5 million.
Why does hexadecimal use letters?
Because base 16 needs sixteen digit symbols and we only have ten numerals, so A to F fill the gap. Hex is popular because one hex digit is exactly four bits, meaning a byte is always exactly two hex digits with no arithmetic required to see the bit pattern.
Is 1 a prime number?
No. A prime has exactly two distinct divisors, one and itself, and 1 has only one divisor. Excluding it is what keeps the fundamental theorem of arithmetic working, since otherwise every number would have infinitely many factorisations.
Do the tools show their working?
Yes, deliberately. Base conversion shows the positional breakdown column by column, factorisation shows the division chain, and the percentage calculator names which of the three possible questions it answered. A number with no working behind it is hard to check.
Method

Arithmetic you can check

A calculator that only gives an answer is hard to trust. These show enough that you can verify by hand.

Steps are shownBase conversions display the positional breakdown, factorisation shows the division chain, and percentage tools name which of the three questions they answered.
Exact where it can beInteger arithmetic uses exact methods rather than floating point wherever practical, so prime factors and GCD results are not subject to rounding drift.
Nothing leaves the pageAll computation runs in your browser. No expressions or datasets are transmitted.
Explore all tools
Privacy Overview

Cookies let this site remember your preferences and show us which tools people actually use. Full detail sits in our Privacy Policy.