Ratio Calculator
Simplify ratios, find equivalent ratios, scale terms proportionally, and calculate percentage shares of two or three-part ratios.
Calculate equivalent values when one term changes.
Simplified Ratio
Original: 12 : 18 (Total Parts: 5)
- Original ratio: 12 : 18
- Greatest Common Divisor (GCD) of terms is 6.
- Dividing each term by 6 gives simplified ratio: 2 : 3
- Scaling ratio to set term #1 to 30: multiplier = 30 ÷ 12 = 2.5000.
- Scaled terms: 30 : 45
About the Ratio Calculator
The Ratio Calculator simplifies ratios between two or three terms to their lowest whole integer form, finds equivalent scaled ratios, and calculates the percentage allocation of each part. Ratios are fundamental across academic mathematics, screen aspect ratios, chemical solutions, photography, and recipe mixing.
How to Use the Ratio Calculator
Step-by-Step Instructions
- Enter the first ratio term (Term A) and second ratio term (Term B).
- Optionally enter a third term (Term C) for 3-part ratios (e.g. concrete mixtures: 1 : 2 : 4).
- If scaling, select which term to anchor and enter your new target value.
- Review the simplified irreducible ratio, total parts, and individual percentage shares.
Input Fields Explained
| Field Name | Description | Requirement | Default |
|---|---|---|---|
| Term A | First component of ratio. | Required | — |
| Term B | Second component of ratio. | Required | — |
| Term C (Optional) | Third component for 3-way ratios. | Required | — |
| Target Scaled Value | Desired value when scaling one part proportionally. | Required | — |
How to Interpret the Output
The primary result displays the simplified ratio in lowest integer terms. The breakdown displays the percentage share of each part relative to the whole.
Assumption: All terms must be positive non-zero numbers. Decimal inputs are automatically converted to whole integer ratios.
Ratio Calculator Formula & Calculation Method
Variable Definitions
GCD— Greatest common divisor of all termsTotal Parts— Sum of all simplified termsScale Multiplier— Target Value / Original Term Value
Multiplies decimals by powers of 10 to establish integer terms, calculates the Euclidean greatest common divisor across all terms, and divides every term by that factor. To scale, all terms are multiplied by the ratio of target value to original value.
Worked Calculation Example
Simplifying 12 : 18
Simplify a 12 to 18 ratio.
- Find greatest common divisor of 12 and 18: GCD = 6.
- Divide Term A: 12 ÷ 6 = 2.
- Divide Term B: 18 ÷ 6 = 3.
- Simplified ratio: 2 : 3.
- Total parts: 2 + 3 = 5. Term A is 40%, Term B is 60%.
Practical Real-World Use Cases
Culinary Recipe Scaling
Maintain proper ingredient balances when doubling or halving baking formulations.
Display & Screen Aspect Ratios
Verify display proportions like 16:9 (1920x1080) and 4:3 (1024x768).
Chemistry & Construction Mixtures
Mix concrete, mortar, or chemical reagents according to strict volumetric proportions.
Important Notes & Limitations
- Ratios express relative proportions, not absolute sizes (e.g. 2:3 could mean 2 cups and 3 cups or 200 liters and 300 liters).
- Terms must be measured in identical units before calculating ratio.
- A ratio of A : B is mathematically equivalent to the fraction A / B.
Frequently Asked Questions about Ratio Calculator
How do you simplify a ratio?
Find the greatest common factor (GCF) that divides evenly into all parts of the ratio, then divide each term by that factor until no common divisor other than 1 remains.
How do you simplify a ratio with decimals?
Count the maximum decimal places in any term, multiply all terms by 10, 100, or 1000 to eliminate decimals into whole integers, and then divide by their greatest common divisor.
What is the difference between a ratio and a proportion?
A ratio compares two quantities (such as 2 : 5). A proportion is an equation stating that two ratios are equal (such as 2 / 5 = 8 / 20).
How do you divide an amount into a ratio?
Add the parts of the ratio to get the total number of parts. Divide the total amount by total parts to find the value of one part, then multiply each ratio number by that single part value.
Related Calculators
Percentage Calculator
Solve all standard percentage calculations: percentage of a number, percentage change, increase/decrease, and relative percentage.
Recipe Scaler
Scale baking and cooking recipe ingredients proportionally with fraction conversions for any serving size or party yield.
Fraction Calculator
Add, subtract, multiply, and divide fractions and mixed numbers. Get simplified irreducible fractions, step-by-step solutions, and decimal equivalents.
Proportion Calculator
Solve proportions (A / B = C / D) for the unknown variable X using cross-multiplication. Verify equality of two fractions and ratios.