Skip to main content
DigiToolBay
CalculatorsClient-Side Browser Processing

Ratio Calculator

Simplify ratios to lowest terms using GCD or solve missing values in A:B = C:D proportions.

Loading Ratio Calculator...

All calculations run locally in your browser.

By DigiToolBay Editorial TeamPublished & verified:

About Ratio Calculator: Guide & Practical Notes

Whether scaling a 1920×1080 screen resolution down for a thumbnail, adjusting recipe ingredients, or sizing CSS containers, keeping proportions exact saves trial and error.

Operates in two modes: reducing any A : B ratio to lowest whole-number terms via Greatest Common Divisor (GCD), and solving for any missing value in an A : B = C : D proportion.

How to Use Ratio Calculator Step by Step

  1. Select either "Simplify Ratio" or "Solve Proportion".
  2. In Simplify mode, enter Term A and Term B to find the reduced ratio.
  3. In Solve Proportion mode, enter any three of A, B, C, and D and leave the unknown field blank.

Worked Example

Reduce a 1920×1080 display resolution to its simplest aspect ratio.

Inputs: Mode: Simplify Ratio, Term A = 1920, Term B = 1080

Result: 16 : 9 (GCD = 120, Decimal = 1.777778)

Both 1920 and 1080 divide evenly by 120: 1920/120 = 16 and 1080/120 = 9.

Euclidean GCD & Cross-Multiplication

Ratio simplification scales decimals cleanly and applies Euclid’s algorithm to divide both sides by their Greatest Common Divisor. Proportion solving rearranges A/B = C/D via cross-multiplication.

A : B = C : D  =>  A × D = B × C

Common Real-World Uses

  • Checking video and image aspect ratios (16:9, 4:3, 21:9)
  • Scaling cooking ingredients, concrete mixes, or dilution formulas
  • Calculating proportional widths when resizing web graphics

Common Mistakes to Avoid

  • Leaving two fields blank in Solve Proportion instead of one.
  • Confusing ratio part-to-part (1:3 means 4 total parts) with part-to-whole fractions (1/4).

Supported Formats, Scope & Limitations

Simplify mode requires strictly positive numbers. Solve Proportion requires exactly one blank field and rejects division by zero.

Privacy & Local Processing

Runs entirely in browser memory.

Frequently Asked Questions

Can I simplify decimal ratios like 2.5 : 1.5?

Yes. The simplifier scales decimals to integers before computing GCD, turning 2.5 : 1.5 into 5 : 3.

Which field can I leave blank when solving proportions?

Any one of the four fields (A, B, C, or D) can be left blank.

Resizing a graphic to match a target ratio? Open the Image Resizer or Image Cropper.