Ratio Calculator
Solves proportions and works with ratios of two or three numbers. Fill in any three of A : B = C : D to find the missing value, scale a ratio up or down by a factor, simplify a ratio to its lowest whole-number terms (decimals such as 1.5 : 2.25 are handled exactly), or rewrite it in 1 : n or n : 1 form for comparing ratios. Each answer shows the working and the scale factor between equivalent ratios.
- Ratios compare positive quantities, so terms must be greater than zero (in proportions, any non-zero values are accepted).
- Simplification is exact for terms with up to 9 decimal places.
Formula
A : B = C : D ⇔ A × D = B × C, so D = B × C ÷ A; equivalent ratios multiply or divide every term by the same number
- Simplifying divides every term by their greatest common divisor. Decimal terms are first multiplied by a power of ten so that all terms are whole numbers.
- 1 : n form divides every term by the first term; n : 1 form divides by the last term.
- Results are shown to up to 6 decimal places.
3 : 4 = 15 : D
Inputs
- I want to: solve
- A: 3
- B: 4
- C: 15
- D:
Cross-multiplying gives 3 × D = 4 × 15 = 60, so D = 60 ÷ 3 = 20. The second ratio is the first scaled up by 15 ÷ 3 = 5.
Sources & references
Frequently asked questions
How do I solve a proportion?
Cross-multiply. In A : B = C : D the products A × D and B × C are equal, so the missing value is the product of the two terms diagonal to each other divided by the remaining term. For 2 : 5 = x : 20, x = 2 × 20 ÷ 5 = 8.
How do I simplify a ratio?
Divide every term by the greatest common divisor. 12 : 18 : 30 has a greatest common divisor of 6, so it simplifies to 2 : 3 : 5. With decimals, multiply by 10, 100 and so on first: 1.5 : 2.25 becomes 150 : 225 = 2 : 3.
What does a ratio of 1 : n mean?
It says how many of the second quantity there are for each one of the first. 4 : 10 written as 1 : n is 1 : 2.5. Putting ratios in this form makes them easy to compare, as in map scales such as 1 : 25,000.
Is a ratio the same as a fraction?
A two-term ratio a : b compares the parts, and a/b is the fraction it corresponds to. In a ratio of 2 : 3, the first part is 2/5 of the whole, because the whole has 2 + 3 = 5 parts.
Related calculators
Fraction Calculator Adds, subtracts, multiplies and divides two fractions, simplifies a fraction to lowest terms, and converts between fractions and decimals. Fractions can be entered as simple fractions (7/4) or as mixed numbers (1 3/4). Every answer is reduced to lowest terms and also given as a mixed number, an exact decimal with any repeating digits marked, and a decimal rounded to six places, together with the working: the common denominator for addition and subtraction or the reciprocal for division. Percentage Increase Calculator Works out how much a value has grown or shrunk in percentage terms. Give the starting and ending values to get the percentage increase (or decrease) and the difference between them, or work backwards: find the new value after a given percentage rise or fall, find the original value before a change, or recover both values from the percentage and the size of the change. Results show the change both as an increase and as the equivalent decrease, so a fall of 10% reads as an increase of −10%. Average Calculator Finds the average (arithmetic mean) of a list of numbers, together with the count, sum, median, geometric mean, smallest and largest value and the range. Paste or type the numbers separated by commas, spaces or semicolons, in any mix. Anything that is not a number is skipped and listed, so you can see exactly which values went into the result. Useful for test scores, prices, measurements or any other set of data.