CalcPlatformPro
HomeFinanceHealthMathConstructionConvertersDateOtherFeedback
Feedback
CalcPlatform

Free, fast, and precise financial, mathematical, health, and engineering calculators.

Financial Suite

  • Mortgage Calculator
  • Auto Loan Calculator
  • Personal Loan Calculator
  • EMI Installment
  • SIP Wealth Growth
  • Compound Interest

Categories & Tools

  • Finance Hub
  • BMI Health Calculator
  • Percentage Calculator
  • Age Calculator
  • Math Category

Company & Legal

  • About Us
  • Privacy Policy
  • Terms & Conditions
  • Feedback & Contact
© 2026 CalcPlatform. All calculations run client-side for total privacy.
HomeMathRatio Calculator

Ratio Calculator

Solve proportions, simplify ratios, divide amounts by a ratio, calculate unit rates, resize images by aspect ratio, and find golden-ratio segments with step-by-step solutions.

Proportion Solver (A : B = C : D)

Proportion Inputs

Proportion Equivalence3 : 4 = 6 : ?
Missing Term (D)
8.0000
Step-by-Step Mathematical Solution
Proportion Equation: A / B = C / D ⇒ 3 / 4 = 6 / D
Cross-Multiplication: A × D = B × C ⇒ 3 × D = 4 × 6 = 24
Solve for D: D = (B × C) / A = 24 / 3 = 8.0000
Ratio Simplifier & Unit Rate (GCD Reduction)

Simplifier Terms

Simplified Integer Ratio
2 : 3 : 4
Unit Rate (per 1 unit of B): 0.6667
Step-by-Step Simplification
1. Terms are already integers: 12 : 18 : 24
2. Calculate Greatest Common Divisor (GCD): GCD = 6
3. Divide each term by GCD: 12/6 : 18/6 : 24/6 = 2 : 3 : 4
4. Unit Rate (Value per 1 unit of B): 12 / 18 = 0.6667
Ratio Partitioning & Amount Divider

Partition Inputs

Partition Shares
Share A: 100.00, Share B: 150.00, Share C: 250.00
Visual Partition Distribution
Share A (20.0%)
Share B (30.0%)
Share C (50.0%)
Step-by-Step Partitioning Derivation
1. Sum of Ratio Parts: 2 + 3 + 5 = 10 total parts
2. Calculate Unit Value per Part: 500 / 10 = 50.0000 per part
3. Share A (2 parts): 2 × 50.0000 = 100.00 (20.0%)
4. Share B (3 parts): 3 × 50.0000 = 150.00 (30.0%)
5. Share C (5 parts): 5 × 50.0000 = 250.00 (50.0%)
Aspect Ratio Resizer & Golden Ratio (Φ) Suite

Aspect / Golden Inputs

Resized Resolution
1280 × 720 px
Simplified Aspect Ratio16 : 9
Total Resolution0.92 MP
Step-by-Step Solution Breakdown
1. Source Aspect Ratio: 1920 : 1080 ⇒ Simplified: 16 : 9 (1.7778)
2. Target Dimension (width): 1280px
3. Calculated Resized Dimension: 1280px × 720px
4. Total Resolution: 921,600 pixels (0.92 MP)
RELATED CALCULATORS:
Percentage Calculator|Fraction Calculator|Scientific Calculator

A ratio is a way of comparing quantities. It can describe how much of one quantity there is relative to another, how a total should be divided, or how two dimensions should scale together. Ratios appear in recipes, maps, measurements, financial analysis, image dimensions, design, and many everyday calculations.

This Ratio Calculator combines several related ratio calculations in one place. You can solve a proportion such as 3:4 = 6:?, simplify two- or three-part ratios, calculate a unit rate, divide a total according to a ratio, resize dimensions while preserving an aspect ratio, and calculate a golden-ratio division.

The calculator also shows the mathematical steps behind the result. That makes it useful when you need more than an answer: you can check the cross-multiplication, verify a greatest common divisor, see how a total is partitioned, or confirm that resized dimensions preserve the original ratio.

A ratio does not have to be written only with a colon. A comparison such as 3 to 4, 3:4, and 3/4 expresses the same numerical relationship when the quantities are being compared in the same order.

What Is a Ratio?

A ratio compares two or more quantities in a specified order.

For two quantities, a ratio can be written as:

a:b  |  a/b  |  a to b

For example, if a box contains 3 red balls and 4 blue balls, the ratio of red balls to blue balls is:

3:4

The order matters. A ratio of 3:4 is not the same comparison as 4:3.

Ratios can be used for part-to-part comparisons, part-to-whole comparisons, and whole-to-part comparisons. A fraction is often used as the numerical representation of a ratio, but the two ideas are not identical: a ratio emphasizes comparison, while a fraction commonly represents a part of a whole.

How to Use This Ratio Calculator

The calculator contains several tools, so choose the section that matches the problem you are trying to solve.

Solve a Proportion

Use the Proportion Solver when you know three terms in A/B = C/D and need to find the fourth. The calculator can solve for A, B, C, or D.

Simplify a Ratio

Use the Ratio Simplifier for ratios such as 12:18:24. The calculator reduces the terms to their simplest whole-number relationship.

Divide a Total by a Ratio

Use Ratio Partitioning & Amount Divider when a total must be distributed proportionally (e.g. divide 500 in the ratio 2:3:5).

Resize Dimensions & Golden Ratio

Use the Aspect Ratio Resizer when one dimension changes while width-to-height must remain fixed, or find a golden-ratio division according to φ ≈ 1.61803398875.

How to Solve a Proportion

A proportion states that two ratios are equal:

A/B = C/D

For a valid proportion, cross multiplication gives:

A × D = B × C

This relationship is the basis for solving the missing term. OpenStax describes the same equivalence: two ratios are proportional exactly when the cross-products are equal.

How Ratios Turn Into a Proportion

Equivalent ratios form a proportion, which can be solved by comparing cross-products.

How Ratios Turn Into a ProportionStep 1: Known Ratio A:B. Step 2: Equivalent Ratio C:D. Step 3: A/B = C/D. Step 4: A×D = B×C. Step 5: Solve the Unknown.Known Ratio A:BEquivalent Ratio C:DA/B = C/DA × D = B × CSolve Unknown

Example: Solve for D

Suppose: 3/4 = 6/D

Cross multiply: 3D = 4 × 6 ⇒ 3D = 24

Divide by 3: D = 8

So: 3:4 = 6:8. The calculator displays this process step by step.

Solve for AA = (B × C)/D
Solve for BB = (A × D)/C
Solve for CC = (A × D)/B
Solve for DD = (B × C)/A

The calculator supports all four target variables rather than assuming the missing term is always D. The production audit specifically verified all four modes.

Proportion Example: 3:4 = 6:8

Consider: 3:4 = 6:8

Convert to fractions: 3/4 = 6/8

Cross products: 3 × 8 = 4 × 6 ⇒ 24 = 24

Because the cross-products are equal, the two ratios are proportional. The calculator's example uses exactly this relationship and returns 8 when solving the missing fourth term.

Important Conditions When Solving Proportions

Cross multiplication is useful when you actually have two ratios set equal to each other. It should not be applied mechanically to any equation containing fractions.

A denominator of zero is also not allowed in a ratio being treated as a quotient. For example: 3/0 is undefined.

The calculator now validates denominator-zero conditions across all four solving modes rather than silently returning an incorrect finite result.

Zero numerators are different. For example: 0/5 = 0/10 is mathematically meaningful because the denominators are nonzero. This distinction matters when building a reliable ratio calculator.

Related Calculation Tool:

When your problem is about an unknown exponent or another power relationship rather than a proportional ratio, use the Exponent Calculator for direct exponentiation and exponent-law calculations.

How to Simplify a Ratio

To simplify a whole-number ratio, divide all terms by their greatest common divisor (GCD).

Consider: 12:18:24

The greatest common divisor is: GCD(12,18,24) = 6

Divide every term by 6: 12/6 : 18/6 : 24/6 = 2:3:4

The important rule is that every term must be divided by the same factor. Dividing different terms by different numbers changes the relationship. The current calculator uses exact decimal normalization before GCD reduction when decimal inputs are provided, while leaving already-integer inputs as integers. This avoids the artificial scaling problem that previously produced unnecessarily large intermediate GCDs.

Simplifying Ratios With Decimals

Ratios do not have to begin as whole numbers. For example: 0.75:1.5

Multiply both terms by 100: 75:150. Now divide by their GCD: GCD(75,150) = 75 ⇒ 75:150 = 1:2.

The calculator handles this normalization automatically. The important principle is that multiplying all terms by the same nonzero factor does not change the ratio.

What Is a Unit Rate?

A unit rate expresses one quantity relative to 1 unit of another quantity.

If: 12/18 = 0.666666... then the value per one unit of the denominator is approximately: 0.6667.

The denominator tells you what the "one unit" refers to:

  • 180 km / 3 hours = 60 km per hour
  • $24 / 6 items = $4 per item
  • 12 units / 18 units = 0.6667 of the first quantity per one unit of the second

Khan Academy similarly defines a unit rate as the number of units of the first quantity for every 1 unit of the second quantity. Do not round the calculation prematurely. The displayed 0.6667 is a readable rounded value; the underlying ratio should retain appropriate precision.

Ratio vs Fraction

A ratio and a fraction can use the same notation, but their purpose can differ. For example, 2:5 can also be written 2/5. As a ratio, it may compare 2 red objects with 5 blue objects. As a fraction, 2/5 may represent 2 parts out of a total of 5. This distinction becomes important when calculating percentages or dividing a total. For a part-to-whole calculation: part / total × 100% is the usual structure.

Part-to-Part vs Part-to-Whole Ratios

Suppose there are 2 red balls and 3 blue balls. The red-to-blue part-to-part ratio is: 2:3.

The total number of balls is: 2 + 3 = 5. Therefore the red-to-total part-to-whole ratio is: 2:5, and the red percentage is: 2/5 × 100% = 40%. The wording matters because 2:3 and 2:5 answer different questions.

How to Convert a Ratio to a Percentage

For a two-part ratio A:B, the percentage represented by A is: A/(A+B) × 100%. For example, in 1:4, total parts = 1 + 4 = 5, giving 1/5 × 100% = 20%. The same idea extends naturally to three or more parts.

Dividing a Total in a Ratio

When a total is divided according to a ratio, first determine the total number of ratio parts.

For 2:3:5, the number of parts is: 2 + 3 + 5 = 10.

If the amount to divide is 500, then one ratio part is: 500/10 = 50.

Share A (2 parts)2 × 50 = 100 (20%)
Share B (3 parts)3 × 50 = 150 (30%)
Share C (5 parts)5 × 50 = 250 (50%)

Check: 100 + 150 + 250 = 500. Percentages are: 20%, 30%, 50%. The calculator's partition module uses this exact structure and its production audit confirms the 100/150/250 result and the corresponding 20/30/50 visual distribution.

Partitioning With Two Parts

The same method works when there are only two parts. Suppose 600 must be divided in the ratio 2:1. Total parts = 2 + 1 = 3. One part = 600/3 = 200. Therefore A = 2 × 200 = 400, B = 1 × 200 = 200. The shares add back to the original total: 400 + 200 = 600.

Why the Partition Chart Matters

A numerical answer tells you the amount assigned to each part, but a proportional visual makes the relationship easier to scan. For a 2:3:5 split, the segments should occupy 20%, 30%, and 50% respectively. The calculator's partition visual is therefore not decorative. It remains synchronized with the calculated values whenever the total or ratio changes. The audit verified that the segmented partition visualization agrees with the numerical shares.

Related Calculation Tool:

When you need to convert between fractions, decimals and broader numerical representations rather than compare quantities as ratios, the Fraction Calculator is the more focused tool.

Ratios and Scaling

Ratios are also useful for scale calculations. Suppose a drawing uses 1 cm : 10 m and a measured segment on the drawing is 6 cm. A proportion can be established: 1/10 = 6/x ⇒ x = 60. So the corresponding real-world length is 60 m. This is the same mathematical structure used in maps, models and scaled drawings. Ratios and proportions are widely used for scaling problems.

What Is an Aspect Ratio?

An aspect ratio describes the proportional relationship between width and height. It is generally written width:height. For example, 16:9 means that for every 16 units of width, there are 9 units of height. NIST defines aspect ratio as the ratio of width to height for objects such as images, pixels and video frames. The same idea is used in web design, images, video, responsive interfaces, displays and graphics. MDN likewise describes aspect ratio as the proportional relationship between width and height.

How to Calculate an Aspect Ratio

Given Width = 1920, Height = 1080, the ratio is 1920:1080. The greatest common divisor is 120: 1920/120 = 16, 1080/120 = 9. Therefore, the simplified aspect ratio is 16:9.

Resize an Image Without Changing Its Aspect Ratio

Suppose the original dimensions are 1920 × 1080 and you want a new width of 1280 px. The original ratio is 16:9. So the new height must satisfy: 1280/height = 16/9 ⇒ height = 1280 × 9/16 = 720 px. The resized dimensions are 1280 × 720 px. The calculator also reports the total pixel count: 1280 × 720 = 921,600 pixels (approx. 0.92 megapixels).

Common Aspect Ratios

16:9Widescreen displays & video systems
4:3Traditional rectangular monitors & TV
1:1Square social media & profile formats
9:16Portrait mobile vertical video

An aspect ratio describes proportion, not a fixed pixel size. A 16:9 image can be 160×90, 1280×720, 1920×1080, or another pair of dimensions with the same ratio.

Why Preserving Aspect Ratio Matters

Changing width and height independently can stretch or compress an image. To preserve the intended proportions, one dimension should be derived from the other using the original ratio. The same principle is used in responsive web design, where maintaining an aspect ratio allows an element to change size without changing its shape. MDN notes that aspect ratio is particularly important for responsive media because it helps preserve intended proportions across different sizes.

Golden Ratio

The golden ratio is the constant:

φ = (1 + √5)/2 ≈ 1.61803398875

A line segment is divided in the golden ratio when: (A+B)/A = A/B = φ, where A is the longer segment and B is the shorter segment. This relationship can be derived from φ² − φ − 1 = 0. MathWorld gives the same exact form and decimal approximation.

Golden Ratio Example: Total Length 100

Suppose A + B = 100 and A/B = φ. The longer segment is approximately 61.8034 and the shorter segment is 38.1966. Check: 61.8034 + 38.1966 = 100 and 61.8034 / 38.1966 ≈ 1.618034. The calculator provides both the two segment values and the visual golden-ratio division.

Golden Ratio Is Not the Same as an Ordinary 61:38 Ratio

The golden ratio is an irrational mathematical constant, so values such as 61.8034:38.1966 are rounded decimal representations. They approximate the exact relationship A/B = φ. This distinction matters when the calculator displays a finite number of decimal places: the total can be exact while the displayed segment values are rounded for readability.

How the Ratio Calculator Helps You Check a Result

A good ratio calculation should be easy to verify:

  • For a proportion: A/B = C/D ⇒ A×D = B×C.
  • For a simplified ratio: divide original terms by common GCD and confirm proportions remain unchanged.
  • For a partition: Share A + Share B + Share C = Total.
  • For an aspect-ratio resize: New Width / New Height = Original Width / Original Height.
  • For the golden ratio: A + B = Total and A / B ≈ 1.61803398875.

The calculator's step-by-step output is designed around these verification relationships.

Common Ratio Calculation Mistakes

Reversing the Order2:3 is not the same relationship as 3:2.
Dividing Only One TermTo simplify a ratio, divide every term by the same factor.
Using Different Scale FactorsMultiplying one ratio term by 10 but another by 100 changes the relationship.
Forgetting Total in a PartitionFor 2:3:5, divisor is 2+3+5 = 10, not 5 or 3.
Confusing Part-to-Part with Part-to-Whole2:3 is not a 40%/60% split until total parts (5) are calculated.
Premature RoundingPremature decimal rounding can distort simplified ratios and image resizes.
Related Calculation Tool:

When your ratio calculation is part of a larger numerical problem, the Scientific Calculator can help check the arithmetic while the Ratio Calculator handles the proportional relationship itself.

Ratio, Rate and Proportion: What Is the Difference?

A ratio compares quantities. A rate compares quantities with different units, such as kilometers per hour or dollars per kilogram. A unit rate expresses that rate relative to one unit of the second quantity. A proportion states that two ratios are equal.

Ratio3 : 4
Rate60 km / 2 h
Unit Rate30 km / 1 h
Proportion3/4 = 6/8

Understanding this terminology makes it easier to choose the correct calculator mode.

Ratio Calculator Examples

Example 1: Missing Term
3:4 = 6:?
Result: 8
Example 2: Simplify
12:18:24
Result: 2:3:4
Example 3: Unit Rate
12/18
Result: 0.6667
Example 4: Divide Total
500 in 2:3:5
Result: 100, 150, 250
Example 5: Resize
1920×1080 → 1280
Result: 1280×720
Example 6: Golden Ratio
Total = 100
Result: A ≈ 61.8034, B ≈ 38.1966

These are not arbitrary examples; they correspond to the calculator's independently audited golden cases.

What Makes a Ratio Calculator Reliable?

A useful ratio calculator should do more than perform one division. It should preserve the relationship between terms, validate invalid inputs, retain numerical precision internally, show the mathematical method, and keep visualizations and exports synchronized with the current calculation.

Audited Production Quality Standards (17,508 / 17,508 Tests Passed)

This calculator's production audit specifically verified all four proportion-solving targets, ratio simplification, decimal normalization, partition sums and percentages, aspect-ratio resizing, golden-ratio calculations, step-by-step derivations, visual distribution bars, PDF, Print, CSV, Copy and Share, Save, Load, Delete and Clear All, keyboard accessibility, and responsive layouts from 320px to 1920px.

Saving, Copying and Exporting Your Ratio Calculation

The calculator provides several ways to keep a result:

  • Save: stores a calculation for later use.
  • Copy Summary: provides a readable text representation.
  • Copy LaTeX: is useful when a mathematical expression needs to be placed into notes or documents.
  • CSV: can be used when structured calculation data is more useful than a visual report.
  • PDF / Print: creates an executive 2-page report without blank whitespace.
  • Share: preserves the supported calculation state via URL query parameters.

These outputs correspond to the current inputs and results, not a previously displayed example. The audit verified export parity across the calculation, UI, step-by-step output, visualizations, PDF, CSV, copied output and saved state.

Frequently Asked Questions

25 Verified Questions
A ratio compares two or more quantities in a specified order. It can be written as a:b, a/b, or "a to b."
Write it as a proportion: 3/4 = 6/x. Cross multiply: 3x = 24, so x = 8.
For A/B = C/D, the cross-products are equal: A×D = B×C. The required unknown can then be isolated algebraically.
Yes. The proportion solver supports all four target variables.
Find the GCD: GCD(12,18,24) = 6. Then divide all terms by 6: 2:3:4.
The greatest common divisor is 6.
Multiply every term by the same power of 10 needed to remove the decimals, then divide by the GCD. For example: 0.75:1.5 → 75:150 → 1:2.
A unit rate expresses the first quantity for every 1 unit of the second quantity. It is found by dividing the first quantity by the second.
There are 2+3+5 = 10 parts. One part is 500/10 = 50. So the shares are 100, 150, 250.
Add the ratio parts, divide the total by that sum to find the value of one part, then multiply by each ratio term.
A part-to-part ratio compares two components, such as 2 red objects to 3 blue objects. A part-to-whole ratio compares one component with the total, such as 2 red objects out of 5 total objects.
For the first part of A:B, use A/(A+B) × 100%. For example, 1:4 gives 1/5 × 100% = 20%.
An aspect ratio is the proportional relationship between width and height. It is commonly written as width:height, such as 16:9.
If the width is known: height = width × 9/16. For a width of 1280: 1280 × 9/16 = 720. So the dimensions are 1280×720.
Divide both dimensions by their GCD, 120: 1920:1080 = 16:9.
Yes. Keep width and height proportional. If one dimension changes, calculate the other from the original ratio rather than changing both independently. Maintaining the intended aspect ratio is important for preserving media proportions.
The golden ratio is φ = (1+√5)/2 ≈ 1.61803398875. It describes a special proportional division in which the ratio of the whole to the larger part equals the ratio of the larger part to the smaller part.
Dividing 100 according to the golden ratio gives approximately 61.8034 and 38.1966.
Because the golden ratio is irrational. The exact constant involves √5, so practical calculator displays show rounded decimal approximations.
Yes. The calculator provides step-by-step mathematical derivations for its major ratio tools.
Yes. A proportion denominator cannot be zero, and the calculator explicitly validates denominator-zero cases.
It depends on the context and the calculator's accepted domain. Some mathematical ratios can involve signed quantities, while physical allocation ratios normally represent nonnegative amounts. The calculator should not silently change a negative input into a positive one.
A zero-total ratio cannot be normalized because there is no nonzero common scale factor. The calculator should reject or explicitly handle that invalid case rather than producing NaN or an arbitrary ratio.
No. 16:9 is a proportion. 1920×1080 and 1280×720 are different resolutions with the same 16:9 aspect ratio.
Yes. The calculator supports the applicable PDF/Print, CSV, Copy, Save and Share workflows.

Related Calculators

Only link the calculators actually associated with this page:

Percentage Calculator

Useful when a ratio needs to be expressed as a percentage or when working directly with percentage relationships.

Explore Calculator
Fraction Calculator

Useful when the ratio needs to be manipulated as a fraction or when fraction arithmetic is the main task.

Explore Calculator
Scientific Calculator

Useful for checking broader numerical calculations that accompany a ratio problem.

Explore Calculator

Mathematical Reference Notes

ProportionA/B = C/D
Cross ProductA×D = B×C
SimplificationTerm / GCD
PartitioningTotal × (Part/Σ)
Golden Ratioφ ≈ 1.618034

A useful ratio calculation is not just about obtaining a number; it is about preserving the mathematical relationship represented by that number.

Mathematical Disclaimer

This calculator performs mathematical calculations based on the values entered by the user. A correct numerical result does not by itself determine whether a particular ratio, proportion, financial comparison, design specification, or real-world model is appropriate for a specific situation. For professional, engineering, financial or other consequential work, verify the assumptions, units, source data and required conventions independently.