Fraction Calculator
Add, subtract, multiply and divide fractions with automatic simplification.
Simplify a ratio to lowest terms, solve for a missing term by cross-multiplication, or share a total out in any ratio — with the share of the whole shown alongside.
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.
A ratio compares two or more quantities to each other rather than to a whole, which is the single distinction that makes it different from a fraction and the one people most often lose track of. This calculator handles the three things anyone actually needs a ratio for.
The order of the terms matters and is not recoverable from the simplified form alone. A ratio of 3 : 5 is not the same statement as 5 : 3, even though both simplify to themselves.
Three operations, one of which is the identity that underpins the whole subject.
| Symbol | Meaning | Unit | Typical range |
|---|---|---|---|
a, b | The two terms being compared | any | — |
gcd | Greatest common divisor of the terms | integer | 1 or more |
Parts | Sum of all terms in the ratio | count | — |
Share | One term ÷ total parts | % | 0 – 100 |
Decimal | First term ÷ second term | × | — |
The distinction between a ratio and a fraction is worth stating precisely. In 2 : 3, the ratio of the first part to the second is 2/3, and the fraction of the whole represented by the first part is 2/5. Both fractions are correct answers to different questions, and using one where the other belongs is the commonest ratio mistake there is.
If 3 : 5 = 12 : what? Cross-multiply: the missing term is 5 × 12 ÷ 3 = 20. Check it by comparing the cross products — 3 × 20 = 60 and 5 × 12 = 60, which match, so the proportion holds. That single check catches almost every arithmetic slip in this kind of problem.
Add the parts: 2 + 3 = 5. One part is 750 ÷ 5 = 150. The first share is 2 × 150 = 300 and the second is 3 × 150 = 450. They add back to 750, which is the check worth doing every time. The same method extends to any number of parts: a 3 : 5 : 1 mix of 4.5 kg gives 1.5 kg, 2.5 kg and 0.5 kg.
The same simplified ratio scaled up.
| Multiplier | Ratio | Total parts | Note |
|---|---|---|---|
| × 1 | 2 : 3 | 5 | Lowest terms |
| × 2 | 4 : 6 | 10 | |
| × 5 | 10 : 15 | 25 | |
| × 10 | 20 : 30 | 50 | |
| × 100 | 200 : 300 | 500 |
Every one of those rows describes the identical relationship. That is what makes ratios useful for scaling: a recipe written as 2 : 3 works for two people or two hundred, and the only thing that changes is what one part is worth.
Where ratios get misread is in the difference between a ratio and a proportion of the whole. “Two parts water to three parts concentrate” means the mixture is 40% water. “The mixture is two parts in three water” means 66.7%. Both sentences use similar words and describe very different liquids, which is why anyone mixing chemicals, concrete or feed writes the total parts down explicitly.
The other frequent confusion is odds against probability. Odds of 3 : 1 against mean three losing outcomes for every winning one, so the probability of winning is 1/4, not 1/3. Betting markets, medical statistics and risk reporting all use odds, and converting them to a probability requires dividing by the total rather than by the other term — the probability calculator works in probabilities throughout for exactly that reason.
Four practical uses where getting the ratio right matters more than usual.
Mixing to a specification. Concrete, fertiliser, fuel mixes and cleaning solutions are all specified as ratios, and the difference between “1 : 10” and “1 in 10” is the difference between one part in eleven and one part in ten. On a safety-critical dilution that is not a rounding difference — the concrete calculator sets out one common case in detail.
Scaling a recipe. Ingredients scale linearly and cooking times do not. Doubling a cake mixture doubles every ingredient and adds perhaps a quarter to the baking time, because heat has to reach the middle of something thicker.
Aspect ratios. A 16 : 9 image scaled to a 1,920-pixel width needs a height of 9 × 1,920 ÷ 16 = 1,080. That is a proportion problem with the same cross-multiplication, and it is worth knowing that 16 : 9 simplifies from 1,920 : 1,080 by a common factor of 120.
Financial ratios. Debt to equity, current ratio and price to earnings are all ratios rather than percentages, which means a value of 1.5 needs interpreting rather than reading. Whether higher is better depends entirely on which ratio it is.
A note on notation. Ratios are written with a colon, proportions with an equals sign between two ratios, and rates with a slash or the word "per". They are close relatives and the distinctions matter in writing: 60 miles per hour is a rate because the two quantities have different units, while 2 : 3 is a ratio because they share one. Dividing quantities with different units gives you a new unit; dividing quantities with the same unit gives you a bare number.
Two related tools: the fraction calculator for the exact arithmetic once a ratio has been turned into a fraction, and the percentage calculator for converting the resulting shares into percentages of a whole.
Divide both terms by their greatest common divisor. For 24 : 36 that divisor is 12, giving 2 : 3.
A ratio compares parts to each other; a fraction compares a part to the whole. In 2 : 3, the ratio is 2/3 and the first part is 2/5 of the total.
Cross-multiply. If 3 : 5 = 12 : d, then d = 5 × 12 ÷ 3 = 20. Check by comparing the cross products: 3 × 20 and 5 × 12 both give 60.
Add the parts, divide the total by that, then multiply each part back up. Sharing 750 as 2 : 3 gives one part of 150, so the shares are 300 and 450.
The first part is 40% of the total and the second is 60%. It is not 66.7% — that is the ratio of the first part to the second, which is a different question.
Yes, and it cannot be recovered later. Three parts water to five parts concentrate is a completely different mixture from five parts water to three parts concentrate.
One part in eleven against one part in ten. On a dilution that matters, which is why chemical and construction specifications write the total parts out explicitly.
Odds of 3 : 1 against mean three losing outcomes per win, so the probability of winning is 1/4. Divide by the total of both terms, not by the other term.
Yes. A ratio of 1.5 : 2.25 is perfectly valid and simplifies to 2 : 3. Whole numbers are conventional because they are easier to read, not because they are required.
Cross-multiply. A 16 : 9 image at 1,920 pixels wide needs 9 × 1,920 ÷ 16 = 1,080 pixels of height.
Six tools that pick up where this one leaves off.
Add, subtract, multiply and divide fractions with automatic simplification.
MathThree percentage questions in one tool, with the working shown.
MathMean, median, mode and range together, so outliers cannot hide.
MathEight shapes, any unit, with the formula for each.
MathVolume, bag count and cost for slabs, footings and columns.
ConstructionSplit a calorie target into protein, carbohydrate and fat grams.
HealthCookies. 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.