How to use this calculator
Choose the task first: reduce a ratio to lowest terms, scale it without changing the relationship, solve a missing value in a proportion, compare two ratios exactly, or divide a total into proportional shares. Ratio order matters. Use consistent units before comparing quantities, and check the result details and calculation steps.
Five ways to work with ratios
Use the mode selector to choose the task that matches your known values. Ratios compare quantities in a fixed order: 2 : 3 is not the same relationship as 3 : 2.
Simplify a ratio
Divide both terms by their greatest common divisor. For 300 : 450, the common divisor is 150, so the simplest form is 2 : 3. Decimal terms are scaled to whole numbers before simplification.
Scale an equivalent ratio
Multiply both terms by the same positive factor. Scaling 2 : 3 by 4 gives 8 : 12. Dividing both terms by the same positive factor can also reduce a ratio. The relationship stays unchanged as long as the same factor is applied to both terms.
Solve a missing proportion value
For A / B = x / D, cross-multiply to get x = A × D ÷ B. If 3 / 4 = x / 20, then x = 15. Keep the units and order consistent on both sides of the proportion.
Compare two ratios
Two ratios are equivalent when their simplified forms match, or when their cross-products are equal. For 3 : 4 and 6 : 8, 3 × 8 = 4 × 6 = 24, so the ratios are equivalent. Comparing 3 : 4 with 6 : 9 gives 27 and 24, so they are not equivalent. The comparison is performed with exact integer arithmetic after decimal terms are scaled.
Split a total by a ratio
Add the ratio parts, then divide the total in the same proportions. To split 100 in a 2 : 3 ratio, there are five parts: 100 × 2 / 5 = 40 and 100 × 3 / 5 = 60. The shares add back to 100.
Practical ratio examples
| Situation | Task | Example |
|---|---|---|
| Scale a recipe | Scale | 2 : 3 × 4 = 8 : 12 |
| Check a map or drawing scale | Proportion | 3 cm represents 150 m; 8 cm represents 400 m |
| Check two matching mixtures | Compare | 3 : 4 and 6 : 8 are equivalent |
| Divide a bill or quantity | Split total | 100 in 2 : 3 gives 40 and 60 |
Ratio calculator FAQs
Does the order of a ratio matter?
Yes. A : B describes the first quantity compared with the second. Reversing the order changes the relationship unless both terms are equal.
Can I scale a ratio by a decimal factor?
Yes. Any positive scale factor is accepted within the calculator's numeric input limits. Both ratio terms are multiplied by exactly the same factor.
How do I know whether two ratios are equivalent?
Simplify both ratios or compare their cross-products. The calculator uses exact integer cross-products after normalizing decimal terms.
How do I divide a total into ratio shares?
Add the ratio terms to find the total number of parts, then multiply the whole amount by each term divided by that sum.
Can I use different units?
Convert measurements to the same unit before comparing them. For example, convert metres and centimetres to one unit before simplifying the ratio.
For fraction arithmetic, use the fraction calculator. To express a ratio part as a percentage of a whole, use the percentage calculator.
For a coordinate-line example of rise divided by run, use the slope calculator to find the gradient between two points.
The formula
Worked examples
Simplify 12 : 18
The greatest common divisor is 6, so 12 : 18 = 2 : 3.
Scale 2 : 3 by 4
Multiply both terms by 4: 8 : 12. The relationship remains 2 : 3.
Solve 3 / 4 = x / 20
x = 3 × 20 / 4 = 15.
Compare 3 : 4 with 6 : 8
3 × 8 = 24 and 4 × 6 = 24, so the ratios are equivalent.
Split 100 in the ratio 2 : 3
There are 5 total parts. The shares are 100 × 2 / 5 = 40 and 100 × 3 / 5 = 60.
Special cases & input limits
Ratio terms must be nonnegative, and each ratio must contain at least one nonzero term. A scale factor must be positive. A total to split must be nonnegative and the ratio parts cannot both be zero. Proportion denominators must be nonzero. Decimal terms are scaled to integers for exact simplification and comparison; displayed decimal shares follow the selected precision.
Inputs support a decimal point and scientific notation, up to 30 significant digits and a magnitude of 10⁻²⁰ to 10³⁰, or zero. Select 0–12 display decimal places. Very small or large answers use scientific notation so a nonzero result is not displayed as zero.
A common mistake
Do not compare unlike units without converting them, and do not reverse the order of a ratio. A ratio of 1 metre to 50 centimetres becomes 100 : 50 = 2 : 1 after converting both quantities to centimetres.
Content updated · Calculation methodology