Math

Ratio Calculator

Simplify, compare, and scale ratios instantly with step-by-step solutions.

MC
Marcus Chen
Math Content Editor
6 min read
Updated

Inputs

Enter the first number in your ratio

Enter the second number in your ratio A:B

Leave blank to skip comparison

Second number of comparison ratio C:D

Multiply the simplified ratio by this factor

Results

Simplified Ratio (A)
First number in simplified form
Simplified Ratio (B)
Simplified Ratio
Greatest Common Divisor
Scaled Ratio (A)
Scaled Ratio (B)
Ratio as Decimal
Comparison Result
Formula
GCD(A, B) = greatest common divisor; Simplified = A/GCD : B/GCD; Scaled = (A/GCD) × Scale : (B/GCD) × Scale; Decimal = A / B
Request plugin

A ratio expresses the relationship between two quantities, showing how much of one thing there is compared to another. Whether you're adjusting a recipe, scaling a design, or solving math problems, understanding and simplifying ratios is essential. Our ratio calculator automates the process, instantly simplifying ratios to their lowest terms, comparing multiple ratios for equivalence, and scaling them by any factor you need. Simply enter your numbers and get clear, step-by-step results with the greatest common divisor used in the calculation. No more manual GCD calculations or confusion about whether ratios are equivalent—just fast, accurate answers.

How it works

The ratio calculator uses the greatest common divisor (GCD) algorithm to find the largest number that divides evenly into both parts of your ratio. By dividing both numbers by their GCD, we reduce the ratio to its simplest form. For example, 12:18 becomes 2:3 because their GCD is 6. When comparing two ratios, the calculator converts both to decimals to check if they're equivalent—ratios like 2:4 and 3:6 both equal 0.5, so they're equal. The scaling feature multiplies the simplified ratio by your chosen factor, useful for resizing recipes or designs. The calculator also expresses your ratio as a decimal value, giving you another perspective on the relationship between the two quantities. All results include the GCD value for transparency.

Formula
GCD(A, B) = greatest common divisor; Simplified = A/GCD : B/GCD; Scaled = (A/GCD) × Scale : (B/GCD) × Scale; Decimal = A / B
Where GCD is the largest number dividing both A and B evenly, allowing simplification to lowest terms; Scale multiplies the simplified ratio; Decimal expresses the ratio as a single number.
💡

Worked example

Imagine you're making a smoothie with a recipe calling for 8 parts fruit to 12 parts yogurt. First, we simplify: GCD of 8 and 12 is 4, so the simplified ratio is 2:3. You want to compare this with another recipe using 4 parts fruit to 6 parts yogurt—which also simplifies to 2:3, so they're equivalent. Now you want to double-check by scaling up your original recipe by a factor of 5 for a party: 2 × 5 = 10 parts fruit and 3 × 5 = 15 parts yogurt. The decimal ratio (0.667) tells you fruit is about two-thirds the amount of yogurt.

What is a Ratio?

A ratio is a mathematical way to compare two quantities. Written as A:B, it shows the proportional relationship between them. Ratios appear everywhere: in cooking (ingredients), design (aspect ratios), finance (debt-to-income), and statistics. Unlike fractions, ratios don't necessarily represent parts of a whole—they express relative magnitudes. A 1:2 ratio means for every 1 unit of the first quantity, there are 2 units of the second. Ratios can be scaled infinitely while maintaining their relationship: 1:2, 2:4, 3:6, and 100:200 are all equivalent. Understanding ratios helps you scale recipes accurately, maintain design proportions, calculate odds, and solve real-world proportion problems efficiently.

Simplifying Ratios

Simplifying a ratio means reducing it to its lowest terms, just like simplifying fractions. To simplify, you divide both numbers by their greatest common divisor (GCD). For example, 15:25 has a GCD of 5, so it simplifies to 3:5. The simplified ratio is equivalent to the original—it represents the same relationship but in cleaner numbers. This is useful because simplified ratios are easier to understand and work with. A recipe calling for 200ml:300ml of two ingredients is harder to scale than the simplified 2:3. The calculator automatically finds the GCD and performs the division, saving you from tedious manual calculation. All simplified ratios maintain perfect mathematical equivalence with the original values.

Comparing Ratios

Two ratios are equal if they express the same proportion. The easiest way to compare is converting both to decimal form: if both equal the same decimal, they're equivalent. For instance, 3:6 and 5:10 both equal 0.5, so they're equal. Alternatively, cross-multiply: for ratios A:B and C:D, if A×D equals B×C, the ratios are equivalent. The calculator performs these comparisons automatically, showing whether your ratios match perfectly. This is invaluable in real-world scenarios: checking if two recipes use identical proportions, ensuring design elements maintain consistent aspect ratios, or verifying that financial metrics align across different time periods. Understanding ratio equality helps you identify proportional relationships and make informed decisions about scaling or adjusting quantities.

Scaling and Multiplying Ratios

Scaling a ratio means multiplying both parts by the same factor, which preserves the relationship while increasing magnitude. If you have a 2:3 ratio and scale by 5, you get 10:15—still equivalent to 2:3. This is essential in practical applications: doubling a recipe, enlarging a design, or calculating material needs. When you scale, the simplified form remains the same, but the absolute values increase. For example, a 1:4 paint mixture (1 part color to 4 parts white) scaled by 8 becomes 8:32, perfect for painting a large wall. The calculator's scaling feature lets you instantly see the result, making it easy to adjust quantities for any project size. Remember: scaling preserves the mathematical relationship while changing practical quantities.

Real-World Applications

Ratios are fundamental across countless fields. In cooking, recipes use ratios for consistency: a 3:2 flour-to-sugar ratio creates specific textures. In photography and design, aspect ratios like 16:9 or 4:3 determine image dimensions. In finance, debt-to-income ratios assess financial health. In science, stoichiometric ratios ensure chemical reactions work correctly. In construction, mortar uses ratios like 1:3 (cement to sand) for proper strength. In mixing paints, dyes, or beverages, precise ratios guarantee uniform quality. Map scales use ratios to represent distances. Odds in gambling express as ratios. Even human proportions—face width to height—follow golden ratio principles. Mastering ratios unlocks understanding across disciplines and enables accurate scaling, mixing, and planning in everyday life.

Tips for Working with Ratios

Always simplify ratios to lowest terms for clarity and easier mental math. When scaling, multiply both parts by the same number—never just one. To convert a ratio to a percentage, divide the first number by the sum of both numbers and multiply by 100. Double-check ratio equivalence using cross-multiplication before making large decisions. For decimal ratios (like 0.5:2), multiply both by 10 or 100 first to work with whole numbers, then simplify. Keep units consistent: if comparing recipes, ensure all measurements use the same units. When scaling up, consider practical limits—sometimes proportions that work at small scales create issues at large scales. Use the calculator to verify hand calculations, especially in high-stakes scenarios like chemical mixing or large-scale production.

Frequently asked questions

What's the difference between a ratio and a fraction?
A ratio compares two quantities using A:B notation and doesn't require a whole. A fraction (A/B) represents parts of a whole and must sum to 1. The ratio 3:5 doesn't mean three-fifths; it means for every 3 units of A, there are 5 units of B. You can have ratios like 5:2 (more of the first), but fractions must be less than or equal to 1.
How do I simplify a ratio with decimals?
Multiply both numbers by 10, 100, or 1000 until you have whole numbers, then simplify normally. For example, 0.5:2 becomes 5:20 (multiply by 10), which simplifies to 1:4. The calculator handles this automatically—just enter your decimal values and it will work with them directly.
Can ratios be scaled down as well as up?
Absolutely. Scaling by a factor less than 1 reduces the ratio. For example, scaling 10:20 by 0.5 gives 5:10, which simplifies to 1:2. This is useful for making recipes smaller or reducing design dimensions while maintaining proportions. Enter any positive number as your scale factor.
What does the GCD number mean?
The Greatest Common Divisor is the largest number that divides evenly into both parts of your ratio. For 12:18, the GCD is 6. Dividing both numbers by the GCD (12÷6 and 18÷6) gives the simplified ratio 2:3. The GCD shows you how much you've reduced the original numbers.
How do I know if two ratios are equivalent?
Use the calculator's comparison feature by entering both ratios. It converts them to decimals—if both decimals match, the ratios are equivalent. Alternatively, cross-multiply: for 2:4 and 3:6, calculate 2×6=12 and 4×3=12. If the products equal, the ratios are equivalent.
Can I use this calculator for odds and probability?
Yes. Odds are expressed as ratios. If odds are 3:5, the calculator simplifies them, shows the decimal probability (0.6 or 60%), and scales them if needed. This helps convert odds between formats or understand probability distributions clearly.
What if my numbers don't simplify?
If both numbers share no common factors other than 1 (like 7:11), the ratio is already in simplest form. The GCD will equal 1, and your numbers remain unchanged. This means the ratio is already as simple as it can be.