Skip to content
Test versionSearch

Mathematics

Exact fractions and mixed-number arithmetic

Reduce fractions or calculate with decimal and mixed inputs, showing exact numerator, denominator, mixed form and the rounded decimal separately.

How it worksFAQRelated tools

Content reviewed:

The example values can be changed. Press Calculate to update the result; you can download it as TXT or CSV and collect scenarios in this tab. JSON, HTML and TXT downloads keep your inputs and all result rows as exact fractions. Automatic recalculation after editing is off unless you switch it on. Nothing is saved, imported or sent automatically.

Results are exact fractions; the rounded decimal (0 to 12 places) is shown separately. You can type a fraction such as 3/4, a decimal with a point or comma, or scientific notation such as 2.5e3. Each entry may have up to 100 characters and powers of ten up to ±100. If a result row would be longer than 500 characters, the tool stops and asks for smaller numbers. A mixed number such as 2 1/3 needs a fraction part smaller than 1, and −2 1/3 means −(2 + 1/3). Division by zero is not possible. To compare two fractions, enter A and B, choose Subtract and press Calculate. A negative reduced numerator means A is smaller than B, zero means they are equal and a positive numerator means A is larger. Use the exact numerator, not the rounded result: 1/1001 minus 1/1000 is negative, yet it rounds to 0 at 0 decimal places.

Decimal results are approximate. Inputs stay in this browser tab.

How it works

Each number is converted to an exact fraction, the operation is carried out on numerators and denominators, and the result is reduced by the greatest common divisor. The decimal is rounded only at the end. Results are exact fractions; the rounded decimal (0 to 12 places) is shown separately. You can type a fraction such as 3/4, a decimal with a point or comma, or scientific notation such as 2.5e3. Each entry may have up to 100 characters and powers of ten up to ±100. If a result row would be longer than 500 characters, the tool stops and asks for smaller numbers. A mixed number such as 2 1/3 needs a fraction part smaller than 1, and −2 1/3 means −(2 + 1/3). Division by zero is not possible. To compare two fractions, enter A and B, choose Subtract and press Calculate. A negative reduced numerator means A is smaller than B, zero means they are equal and a positive numerator means A is larger. Use the exact numerator, not the rounded result: 1/1001 minus 1/1000 is negative, yet it rounds to 0 at 0 decimal places.

Worked example

With these example values the calculator gives the result below. You can change any value in the form above.

Inputs

First number (fraction, decimal or mixed w n/d)
1/2
Operation
Add
Second number
1/3
Rounded display 0–12 places
6

Result

First operand (exact)
1/2
Second operand (exact)
1/3
Integer substitution before reduction
(1·3+1·2) / (2·3)
Reduced numerator
5
Positive reduced denominator
6
Result (exact)
5/6
Mixed result (exact)
5/6
Result (rounded)
0.833333

Frequently asked questions

How do I add, subtract, multiply or divide fractions and mixed numbers?

Enter the first and second number as fractions, decimals or mixed numbers, choose the operation and calculate. The tool shows the exact numerator, denominator, mixed form and a rounded decimal separately.

How do I compare two fractions?

Enter A and B, choose Subtract and read the reduced numerator: negative means A is less than B, zero means equal, positive means A is greater. For 1/2 and 2/4 the difference is zero, so they are equal.

How are negative mixed numbers read?

Mixed form requires 0 to less than a positive denominator for the fraction part. -2 1/3 means -(2+1/3). Division by zero is refused.

Why can the rounded result show zero?

A rounded zero does not establish equality. For 1/1001 and 1/1000 the exact difference is negative even though the rounded result is 0 at precision 0.

Can I express a fraction as a percentage?

Yes. A separate worksheet gives fraction A times 100 as a percentage, A as a percentage of a nonzero B, or a comparison. For example 1/4 is exactly 25%, and 1/4 as a percentage of 1/2 is exactly 50%.

Can I convert old pounds, shillings and pence?

Yes, as nominal units only. Old pounds are 0 to 1000000, shillings 0 to 19 and pence 0 to 11.75 in quarter-penny steps. There is no present value, inflation or coin pricing.

What input limits apply to fractions?

Each entry may have at most 100 characters, with an exponent scale of plus or minus 100. Output rows over 500 characters are refused.