Ratio Calculator
Enter two numbers to reduce a ratio to simplest form, or switch to solve mode to find the missing term of a proportion.
Result
- A ÷ B as a decimal
- 0.666667
- A as a share of A + B
- 40%
How to use the ratio calculator
Pick Simplify a ratio to reduce two numbers to their lowest whole-number terms. You also get the ratio as a decimal (A ÷ B) and the share that A makes up of the total. Pick Solve a proportion to find the missing value x in A : B = C : x.
Method
To simplify, divide both terms by their greatest common factor. Decimal terms are first multiplied by a power of 10 so both become whole numbers. To solve a proportion the calculator uses cross multiplication: A × x = B × C, so x = B × C ÷ A.
Worked example
Screen sizes of 1920 by 1080 pixels reduce to 16:9, because the greatest common factor of 1920 and 1080 is 120. For a proportion, if 3:4 = 9:x then x = 4 × 9 ÷ 3 = 12.
Limits
- All terms must be greater than zero.
- Ratios of more than two terms are not supported. Simplify each pair in turn.
- Terms with more than six decimal places are rounded before simplifying.
Frequently asked questions
What does the ratio 2:3 mean?
For every 2 parts of the first quantity there are 3 parts of the second. The first term is 2 out of 5 total parts, which is 40%.
How do I simplify a ratio with decimals?
Multiply both terms by the same power of 10 until they are whole numbers, then divide both by their greatest common factor. 1.5:4.5 becomes 15:45, which reduces to 1:3. The calculator does this for up to six decimal places.
How do I scale a recipe or a drawing with a ratio?
Use Solve a proportion. If 3 cups of flour go with 4 cups of water, enter 3, 4 and the new amount of flour to get the matching amount of water.
Sources and methodology
Last reviewed 2026-12-04