Percentage Calculator
Three percentage questions in one tool, with the working shown.
Add, subtract, multiply and divide fractions with exact whole-number arithmetic, automatic simplification, mixed-number conversion and every step of the working shown.
About precision. Results are computed in double-precision floating point, which is exact for whole numbers up to about sixteen digits and very slightly approximate beyond that. Figures are rounded for display, so a long chain of calculations can differ from a hand-worked answer in the last decimal place. Where an exact fraction or radical exists, this page shows it alongside the decimal.
Fraction arithmetic is one of the few places a calculator can be more accurate than a spreadsheet. Everything here is done in whole numbers from start to finish, so one third stays exactly one third rather than becoming 0.33333333333333331.
Improper fractions are shown as mixed numbers in the tiles, so 21/10 also appears as 2 1/10. Both forms are correct; which one is preferable depends entirely on what you are doing next.
Four operations. Two of them need a common denominator and two of them do not.
| Symbol | Meaning | Unit | Typical range |
|---|---|---|---|
a, c | Numerators — the parts | integer | any |
b, d | Denominators — the divisions | integer | not zero |
gcd | Greatest common divisor | integer | 1 or more |
LCD | Lowest common denominator | integer | — |
Mixed | Whole number plus a proper fraction | — | — |
Euclid's algorithm finds the greatest common divisor by repeatedly replacing the larger number with the remainder of dividing it by the smaller one, until nothing is left over. It is over two thousand years old and still the fastest practical method, which is a reasonable claim to the most durable algorithm ever written down.
Using the lowest common denominator instead saves a step. The lowest common denominator of 12 and 18 is 36, so 7/12 = 21/36 and 5/18 = 10/36, giving 31/36 immediately with no simplification needed. Both routes reach the same answer; the second is neater by hand and the first is easier to program, which is why the calculator does it the first way and then reduces.
On the same two fractions: subtracting gives 11/36 (0.305556), multiplying gives 35/216 (0.162037), and dividing gives 21/10 — which is 2 1/10 as a mixed number, or 2.1 exactly. Notice that dividing by a fraction smaller than one produces a result larger than what you started with, which is the part that feels wrong until you remember that dividing by a half means asking how many halves fit inside.
Every step of the worked example, from the inputs to lowest terms.
| Step | Fraction | Decimal | Note |
|---|---|---|---|
| First fraction | 7/12 | 0.583333 | A proper fraction |
| Second fraction | 5/18 | 0.277778 | A proper fraction |
| Raw result | 186/216 | 0.861111 | Before simplifying |
| Simplified | 31/36 | 0.861111 | Divided by 6 |
| As a percentage | — | 86.11% | The decimal times 100 |
The decimal is identical before and after simplification, which is the point of simplifying: 186/216 and 31/36 are the same number written two ways. Lowest terms is a convention for readability rather than a mathematical requirement.
Fractions and decimals are not interchangeable in every situation. One third is exactly representable as a fraction and not as a decimal — 0.333333 is an approximation however many digits you add. In any calculation involving thirds, sevenths or ninths, staying in fractions until the final step avoids an error that compounds quietly through everything downstream.
That is also why this page does its arithmetic in integers. A spreadsheet adding 7/12 and 5/18 as decimals returns 0.8611111111111112 — correct to fifteen places and not exactly 31/36. For most purposes that is irrelevant; for anything involving repeated multiplication or an exact comparison, it is not, and the ratio calculator has the same property for the same reason.
Four things worth knowing about working with fractions.
A negative denominator is not wrong, just untidy. The fraction 3/−4 equals −3/4, and this calculator normalises the sign onto the numerator. Doing so makes comparisons and simplification behave predictably.
Improper fractions are often more useful than mixed numbers. 21/10 is easier to multiply than 2 1/10, which is why algebra stays in improper form and recipes do not. Convert at the end, not in the middle.
Comparing fractions needs a common denominator too. Whether 7/12 or 5/8 is larger is not obvious by inspection; over a common denominator of 24 they become 14/24 and 15/24, and the answer is immediate. Cross-multiplying works just as well: 7 × 8 = 56 against 5 × 12 = 60.
Not every decimal is a fraction. Any terminating or repeating decimal can be written as a fraction, but irrational numbers such as π and the square root of two cannot be — that is precisely what irrational means. A calculator that offers you a fraction for π is offering an approximation.
There is a practical reason fractions survive in an age of decimals, and it is not nostalgia. Some quantities divide naturally into thirds, sixths or twelfths — time, angles, musical intervals, imperial measurements — and every one of those becomes a repeating decimal the moment you convert it. A third of an hour is exactly twenty minutes and approximately 0.333 hours, and only one of those two statements is usable for anything.
The same applies in trades that work in imperial units. A measurement of 3 5/8 inches is exact, reads instantly off a tape measure, and adds to another fraction without any loss. Written as 3.625 it is also exact, and written as 3.63 it is not — which is the sort of quiet rounding that turns into a visible gap across twelve joists.
For converting between fractions, decimals and percentages in the other direction, the percentage calculator handles the same arithmetic from the percentage end, and the ratio calculator does it for the two-part comparisons that look like fractions and behave slightly differently.
Put them over a common denominator, add the numerators, then simplify. 7/12 + 5/18 over 216 is 126/216 + 60/216 = 186/216, which reduces to 31/36.
Multiply the denominators and divide by their greatest common divisor. For 12 and 18 that is 216 ÷ 6 = 36, which is smaller than simply multiplying them.
Flip the second fraction and multiply. 7/12 ÷ 5/18 becomes 7/12 × 18/5 = 126/60, which reduces to 21/10 — or 2 1/10 as a mixed number.
Because you are asking how many of the second fraction fit inside the first. Dividing by a half means asking how many halves fit, which is naturally more than you started with.
Divide both parts by their greatest common divisor. For 186/216 that divisor is 6, giving 31/36. Euclid's algorithm finds it in a few steps rather than by trial.
A whole number and a proper fraction together, such as 2 1/10 for 21/10. It reads more naturally and is harder to calculate with, so convert at the end rather than in the middle.
Every terminating or repeating decimal can. Irrational numbers such as π and √2 cannot — that is the definition of irrational, and any fraction offered for them is an approximation.
Cross-multiply. For 7/12 against 5/8, compare 7 × 8 = 56 with 5 × 12 = 60; the larger product belongs to the larger fraction, so 5/8 wins.
Because decimals lose exactness. A spreadsheet adding 7/12 and 5/18 returns 0.8611111111111112 rather than exactly 31/36, and that tiny error compounds through repeated multiplication.
It can, and it means the same as a negative numerator: 3/−4 equals −3/4. This calculator moves the sign to the top so comparisons and simplification behave predictably.
Six tools that pick up where this one leaves off.
Three percentage questions in one tool, with the working shown.
MathSimplify, solve for a missing term, or scale a mix.
MathAny base to any power, negative and fractional included.
MathSquare, cube and nth roots with simplified radical form.
MathEight shapes, any unit, with the formula for each.
MathLetter grades and credits rolled into a 4.0 average.
EverydayCookies. We use cookies for site functionality and to serve ads via Google AdSense. Nothing you type into a calculator is ever stored or sent anywhere. Read our Cookie Policy.