How to Calculate a Ratio
Use this ratio calculator to simplify ratios, find equivalent ratios, solve proportions, scale values, and divide quantities into proportional shares.
- Select the calculation mode.
- Enter the known ratio terms.
- Enter a scale factor, target value, or total quantity when required.
- For proportions, select the missing term and enter the other three values.
- Select Calculate to review the result, visual proportion, and calculation steps.
What Is a Ratio?
A ratio compares two quantities in a specified order. The ratio 2 : 3 means that for every two parts of the first quantity, there are three parts of the second.
Ratios can compare quantities measured in the same units or express relationships between different quantities. Convert measurements to compatible units when comparing quantities of the same kind.
The order matters: 2 : 3 and 3 : 2 describe different relationships.
Ratio Formulas and Examples
1. Simplify a Ratio
Simplified ratio = (A ÷ GCD) : (B ÷ GCD)
Find the greatest common divisor of the integer terms and divide both by it.
Example: 24 : 36
GCD of 24 and 36 = 12
24 ÷ 12 : 36 ÷ 12 = 2 : 3
For decimal terms, first multiply both by a common power of ten to obtain integers. For example, 1.5 : 2.5 becomes 15 : 25, then 3 : 5.
2. Find an Equivalent Ratio
Equivalent ratio = (A × K) : (B × K)
Multiply both terms by the same positive scale factor K.
Example: Multiply 2 : 3 by 4.
2 × 4 : 3 × 4 = 8 : 12
3. Find a Missing Proportion Value
A proportion states that two ratios are equal: A : B = C : D.
Cross multiplication: A × D = B × C
- A = B × C ÷ D
- B = A × D ÷ C
- C = A × D ÷ B
- D = B × C ÷ A
Example: 2 : 3 = 8 : D
D = 3 × 8 ÷ 2 = 12
4. Scale a Ratio
Scale factor = Target value ÷ Original term
Multiply both original terms by the scale factor to preserve their proportion.
Example: Scale 2 : 3 so the first term becomes 10.
Scale factor = 10 ÷ 2 = 5
Scaled ratio = 10 : 15
5. Divide a Quantity by Ratio
Share = Total quantity × Term ÷ Sum of terms
Example: Divide 500 in the ratio 2 : 3.
Total parts = 2 + 3 = 5
First share = 500 × 2 ÷ 5 = 200
Second share = 500 × 3 ÷ 5 = 300
The two shares add up to the original quantity of 500.
Ratio to Percentage
When a ratio describes two parts of a combined whole, divide each term by the sum of both terms and multiply by 100.
For the ratio 2 : 3:
- First share = 2 ÷ 5 × 100 = 40%
- Second share = 3 ÷ 5 × 100 = 60%
These are part-to-whole percentages. They differ from expressing the first term as a percentage of the second term.
Use the Percentage Calculator for other percentage calculations.
Everyday Uses of Ratios
- Scale recipe ingredients while preserving their original proportions.
- Divide a budget into agreed shares.
- Resize images while maintaining their aspect ratio.
- Compare measurements after converting them to compatible units.
- Solve proportional relationships in mathematics and everyday planning.
Calculation Rules and Limitations
- This calculator supports two-term ratios.
- Ratio terms, scale factors, and target values must be positive.
- Zero is accepted only as the total quantity in quantity distribution mode.
- Inputs are limited to 1 billion and 6 decimal places.
- Commas and scientific notation are not accepted.
- Ratio simplification uses exact integer arithmetic after decimal conversion.
- Other calculations use floating-point arithmetic and display up to 12 significant digits.
- Independently rounded shares may not add up to the displayed total exactly.
- Quantity distribution can produce fractional shares. It does not allocate indivisible objects or enforce currency rounding rules.
- Unit conversion is not performed automatically.
Frequently Asked Questions
How do I simplify a decimal ratio?
Multiply both terms by the same power of ten to obtain integers, then divide both by their greatest common divisor. For example, 0.4 : 0.6 simplifies to 2 : 3.
Are 2 : 3 and 4 : 6 equivalent ratios?
Yes. Multiplying both terms of 2 : 3 by 2 produces 4 : 6 without changing the proportional relationship.
Can a ratio contain zero?
Some mathematical ratio conventions allow a zero term. This calculator restricts ratio terms to positive values to keep all five calculation modes consistent.
What is the difference between ratio and proportion?
A ratio compares two quantities. A proportion states that two ratios are equal.
How do I divide 100 in a ratio of 1 : 3?
Add the ratio terms to get four parts. Divide 100 by four to get 25 per part. The resulting shares are 25 and 75.
Does scaling change the ratio?
Scaling both terms by the same positive factor changes their magnitudes but preserves their proportional relationship.