AI Tools Free

Ratio Calculator

Enter the First ratio numerator (a), First ratio denominator (b), and Second ratio numerator (c) into this ratio calculator to solve the proportion a / b = c / x in one click. Every calculation runs locally in your browser with 12-significant-digit precision (x = (b × c) / a), one-click clipboard copy, and .txt export.

Free to useNo sign-upRuns in your browser
Enter your details

Enter the inputs, then select Solve ratio.

Your result
Enter your details

Result will appear here

Cross-multiplication formula and how this ratio calculator works

A ratio calculator solves the proportion equation a / b = c / x for the missing fourth term x by multiplying the first denominator b by the second numerator c and dividing by the first numerator a. Whether you want to calculate ratio scales for widescreen displays or learn how to calculate ratio between two numbers in 1 : x unit form, this proportion solver outputs results up to 12 significant digits.

For a / b = c / x, the missing value is x = (b × c) / a.

Cross-multiplies b × c and divides by a to 12 significant digits, or normalizes a : b to 1 : x when c = 1 (pair with our GCF Calculator and Fraction Calculator to reduce whole-number ratios).

Diagram showing 3 / 4 = 6 / x evaluated via cross-multiplication as x = (4 × 6) / 3 = 8
With a = 3, b = 4, and c = 6, cross-multiplying (4 × 6) / 3 returns x = 8.

Ratio Calculator Reference Table: Proportions and Unit Ratios

Compare 10 common scaling and unit-rate problems solved by x = (b × c) / a.

Proportion (a : b = c : x)Inputs (a, b, c)Cross-Multiplication ((b × c) / a)Solved Output (x)Practical Scaling or Unit Ratio Context
3 : 4 = 6 : xa = 3, b = 4, c = 6(4 × 6) / 3x = 8Preloaded baseline (3 / 4 = 6 / 8)
16 : 9 = 1920 : xa = 16, b = 9, c = 1920(9 × 1920) / 16x = 10801080p HD video height from 1920 px width
4 : 3 = 1600 : xa = 4, b = 3, c = 1600(3 × 1600) / 4x = 1200UXGA monitor and tablet photo frame
1 : 50 = 3.5 : xa = 1, b = 50, c = 3.5(50 × 3.5) / 1x = 175Metric blueprint scale (3.5 cm = 175 cm)
2 : 8 = 1 : xa = 2, b = 8, c = 1(8 × 1) / 2x = 4Unit ratio conversion (2 : 8 = 1 : 4)
5 : 8 = 12.5 : xa = 5, b = 8, c = 12.5(8 × 12.5) / 5x = 20Scaling a 5-to-8 culinary or lab batch
1 : 12 = 4 : xa = 1, b = 12, c = 4(12 × 4) / 1x = 48ADA ramp slope (4 ft rise = 48 ft run)
3 : 2 = 450 : xa = 3, b = 2, c = 450(2 × 450) / 3x = 30035mm DSLR image height from 450 px width
7 : 10 = 35 : xa = 7, b = 10, c = 35(10 × 35) / 7x = 50Projecting total cohort from a 7 / 10 sample
25 : 100 = 1 : xa = 25, b = 100, c = 1(100 × 1) / 25x = 4Defect or conversion rate normalized to 1 : 4

How to calculate ratio in 3 steps

Follow these three steps to solve any proportion a / b = c / x in your browser.

Enter the first ratio numerator

Type your known reference numerator a (3 by default, within ±1 trillion) into First ratio numerator.

Input and settings
Ratio Calculator input panel with First ratio numerator 3, First ratio denominator 4, and Second ratio numerator 6
Step 1: Enter the three known nonzero terms a, b, and c within ±1,000,000,000,000.

Enter the denominator and second numerator

Type the reference denominator b (4 by default) and the target numerator c (6 by default, or 1 for a 1 : x unit ratio).

Tool result
Ratio Calculator result panel displaying x = 8 under Missing ratio term
Step 2: Select Solve ratio to evaluate x = (b × c) / a.

Solve and export the missing term

Press Solve ratio to compute x = (b × c) / a, then click Copy or Download (ratio.txt) to save the output.

Review the details
Ratio Calculator output panel with Copy and Download ratio.txt buttons
Step 3: Copy the solved ratio term or download ratio.txt.

Worked ratio calculator examples: video, scale drawings, and unit rates

Review three real-world scenarios showing how cross-multiplication solves display resolutions, architectural scales, and unit ratios.

Widescreen 16 : 9 video resolution (a = 16, b = 9, c = 1920)

Suppose you know a video frame uses a 16 : 9 aspect ratio and has a horizontal width of 1920 pixels (16 / 9 = 1920 / x). Setting a = 16, b = 9, and c = 1920 evaluates (9 × 1920) / 16 and returns x = 1080. For dedicated screen dimension presets and GCD reduction of pixel pairs, open our Aspect Ratio Calculator.

Worked example solving 16 / 9 = 1920 / x for x = 1080
16 : 9 scaled to 1920 width gives x = (9 × 1920) / 16 = 1080.

Architectural 1 : 50 blueprint conversion (a = 1, b = 50, c = 3.5)

On a 1 : 50 metric floor plan, every 1 cm on paper equals 50 cm on the job site. When a corridor measures 3.5 cm on the drawing (1 / 50 = 3.5 / x), supplying a = 1, b = 50, and c = 3.5 outputs x = 175 (175 cm or 1.75 m real length). If your dimensions are fractional inches, convert them first in our Fraction To Decimal Converter.

Worked example scaling 3.5 cm at 1 : 50 blueprint ratio to 175 cm
At a 1 : 50 drawing scale, 3.5 cm equals x = 50 × 3.5 = 175 cm.

Normalizing two numbers into a 1 : x unit ratio (a = 25, b = 100, c = 1)

To express 25 successes out of 100 trials as a 1 : x unit ratio (25 / 100 = 1 / x), set a = 25, b = 100, and c = 1. The solver computes (100 × 1) / 25 and returns x = 4 (1 : 4). You can also evaluate that share as a percentage in our Percentage Calculator or compare two peer measurements in our Percent Difference Calculator.

Worked example normalizing 25 : 100 to 1 : 4 unit ratio with c = 1
Setting c = 1 converts 25 : 100 into the unit ratio 1 : 4 (x = 4).

Interpreting ratio calculator outputs: missing numerator vs denominator

While the form labels solve a / b = c / x for the second denominator x, you can solve for any of the four positions in A : B = C : D by arranging your three known numbers:

First, to solve for the right-hand denominator (x in A / B = C / x), leave your three known terms in their natural order (a = A, b = B, c = C) so the formula calculates x = (B × C) / A. Second, to isolate an unknown numerator (y in A / B = y / D), flip the initial fraction by entering the denominator B first and numerator A second, with D in the third box, which yields y = (A × D) / B.

Third, when you want an integer ratio like 6 : 8 reduced to lowest whole numbers (3 : 4) rather than a decimal unit rate, find GCD(6, 8) = 2 with our GCF Calculator and divide both terms by 2, or round repeating decimal outputs with our Rounding Calculator.

Diagram comparing solving for denominator x = (B × C) / A vs flipping A and B to solve for numerator y = (A × D) / B
Swap a and b when your unknown term sits in the numerator position.

Ratio calculator nonzero validation, ±1T bounds, and 12-digit precision

Keep these three operational rules in mind when entering ratio terms:

First, all three inputs must be nonzero: if a = 0, b = 0, or c = 0, the tool stops and displays 'The ratio must have nonzero denominators and numerator.' because zero in a or b causes division by zero and c = 0 collapses the proportion to zero.

Second, all three fields accept decimals and negative values (step=any) from -1,000,000,000,000 to 1,000,000,000,000, and non-terminating quotients are formatted via Number(n.toPrecision(12)).toString().

Summary of nonzero input validation, ±1 trillion bounds, and 12-significant-digit formatting
Enforces nonzero denominators/numerators and formats x to 12 significant digits.

Frequently asked questions about the ratio calculator

Answers about using Ratio Calculator and understanding its results.

How do I calculate the ratio for a missing term x?

Cross-multiply the two known diagonal terms (b and c) and divide their product by the remaining known term (a): x = (b × c) / a. With the preloaded values a = 3, b = 4, and c = 6, x = (4 × 6) / 3 = 8.

How do you calculate the ratio of two numbers in 1 : x form?

Supply your two numbers as a and b, then set c = 1 so the equation becomes a / b = 1 / x (x = b / a). If you need the inverse x : 1 unit form, reverse a and b while leaving c = 1.

What if my unknown number is in the second numerator (a / b = y / d)?

Take the reciprocal of both sides (b / a = d / y): type b in the first field, a in the second field, and the known denominator d in the third field to obtain y = (a × d) / b.

Why does the ratio calculator reject 0 in any field?

In a / b = c / x, setting b = 0 divides by zero on the left side, setting a = 0 divides by zero in x = (b × c) / a, and setting c = 0 forces c / x = 0 for every finite x. Requiring nonzero entries ensures a unique finite solution.

How do you calculate a ratio in Excel or Google Sheets?

To solve a / b = c / x when a, b, and c sit in cells A2, B2, and C2, use =(B2*C2)/A2. To format two integers in A2 and B2 as a simplified whole-number ratio (such as 6 and 8 becoming 3:4), enter =A2/GCD(A2,B2)&":"&B2/GCD(A2,B2).

Solve your ratio and proportion now

Choose another tool for your next calculation, conversion, or text task.

Solve ratio