Skip to content
ToolPaxaAll Tools for Everyone, in One Place.All calculators

Fraction Calculator

Calculate with fractions, mixed numbers and decimals. Follow the exact working and compare simplified fractions, mixed numbers and decimal forms.

Formula reference

a/b ± c/d = (ad ± bc)/(bd); b,d ≠ 0

All formulas
  • a/b ± c/d = (ad ± bc)/(bd); b,d ≠ 0
  • (a/b) × (c/d) = ac/(bd)
  • (a/b) ÷ (c/d) = ad/(bc); b,c,d ≠ 0
  • a/b = (a/g)/(b/g); g = GCF(|a|,|b|)
  • a/b ⋚ c/d ⇔ ad ⋚ bc; b,d > 0
  • N / 10^k
  • (N_full − N_nonrepeat)/(10^k(10^r − 1)); r ≥ 1
  • |a| = qb + r; 0 ≤ r < b; b > 0

Find the lowest common denominator, then add the equivalent numerators.

+
=?

Your result

Choose a calculation and enter two values to get started.

Saved comparisons

Keep up to three results in this tab. Each saved result keeps its inputs and display precision. Clear removes all results.

Use an integer, a/b, a mixed number such as 2 1/3, or a decimal. Parentheses mark repeating digits: 0.(3). Do not enter thousands separators or arithmetic expressions.

How to use this fraction calculator

Choose a calculation, enter the first value and add a second value for arithmetic or comparison. Select the number of displayed decimal places, then calculate. Review the exact answer and each step before saving a comparison, copying the working, downloading CSV or printing a PDF through your browser.

1 1/2 + 3/4 = 9/4 = 2 1/4

Numerators, denominators and equivalent fractions

In a/b, a is the numerator and b is the nonzero denominator. Multiplying or dividing both parts by the same nonzero number keeps the value unchanged. The calculator reduces by the greatest common divisor and keeps the denominator positive. Zero is written as 0, and a denominator of one produces an integer.

6/8 = (6 ÷ 2)/(8 ÷ 2) = 3/4

Adding and subtracting fractions

Unlike denominators represent different-sized parts. Use their least common multiple as the lowest common denominator, rescale both numerators and then add or subtract those numerators. Keep the common denominator and reduce the answer. The worked example shows why adding denominators directly gives the wrong result.

3/4 + 1/6 = 9/12 + 2/12 = 11/12; 3/4 − 1/6 = 7/12

Multiplying fractions and cancelling factors

Multiply numerator by numerator and denominator by denominator. A common factor may be cancelled between either numerator and the opposite denominator before multiplying. This shortens the working while preserving the exact value. Signs follow the usual rule: matching signs give a positive product.

2/3 × 9/10 = 18/30 = 3/5

Dividing fractions using reciprocals

Keep the first value and multiply it by the reciprocal of the second. The second value must be nonzero because zero has no reciprocal. Normalize any negative denominator and reduce the product. Dividing a nonzero value by itself gives one; zero divided by a nonzero value gives zero.

3/4 ÷ 2/5 = 3/4 × 5/2 = 15/8 = 1 7/8

Mixed numbers and negative signs

Convert a mixed number by multiplying the whole-number magnitude by the denominator and adding the numerator. A leading minus sign applies to the entire mixed number: -2 1/3 means -(2 + 1/3), or -7/3. The fractional part must be proper and nonnegative. For a fraction between -1 and 0, use -1/2 or -0 1/2.

−2 1/3 = −7/3; −0 1/2 = −1/2

Finite and recurring decimals as exact fractions

A finite decimal with k decimal places is an integer divided by 10^k, then reduced. For repeating decimals, place only the repeating block in parentheses. If x = 0.(3), then 10x - x = 3, so x = 3/9 = 1/3. Nonrepeating digits stay outside the parentheses: 0.1(6) is 1/6, while 0.16 is 4/25.

For percentage changes and comparisons, use Percentage Calculator. For expressions with powers and functions, use Scientific Calculator. For individual powers and missing exponent or base values, use Exponent Calculator.

For mathematical notation, see ISO 80000-2:2019. The input syntax and rounding choices used here are explained above.

0.125 = 125/1000 = 1/8; 0.1(6) = 1/6; 0.(9) = 1

Comparing fractions without rounding

With positive denominators, compare a×d and c×b to decide whether a/b is less than, equal to or greater than c/d. This remains exact for negative inputs and very large integers. Never decide equality from rounded decimals alone: 1/3 is greater than 333333/1000000 even when both display as 0.333333.

1/3 > 333333/1000000; 1 × 1000000 > 333333 × 3

Exact answers, rounding and decimal periods

Integer arithmetic preserves the exact fraction throughout the calculation. Decimal display uses 0–12 places and rounds ties away from zero; an approximation is marked ≈. A separate long-division expansion shows a terminating decimal or a proven repeating block. After 200 digits an unfinished expansion is marked with an ellipsis, without guessing whether it will eventually terminate.

1/3 = 0.(3) ≈ 0.333333; −1/8 ≈ −0.13

Input limits and calculation assumptions

Integer components may contain up to 100 digits. Finite decimals allow 40 total digits, including at most 20 decimal places. Recurring input allows 100 repeating digits after at most 20 nonrepeating places. Local digits and decimal separators are accepted; grouping, scientific notation, variables and expressions are not. Only the selected operation is evaluated; arithmetic follows exact rational-number rules.

Privacy and your reports

Your numbers are calculated in this browser without uploading them or saving them to an account. Up to three comparisons remain in this tab. Reset clears them. CSV files, copied working and printed PDFs can contain your inputs; keep downloaded reports wherever you normally store your work.

Common questions

Why can a denominator not be zero?

Division by zero is undefined. A zero numerator is valid when its denominator is nonzero, but that zero value cannot be used as the divisor.

How do I enter a negative mixed number?

Put the minus sign before the whole number: -2 1/3 means -7/3. Do not put a second sign inside the fractional part.

Is 0.333333 exactly one third?

No. That finite decimal is 333333/1000000. Enter 0.(3) for the infinitely repeating decimal that is exactly 1/3.

Can I calculate with large fractions?

Yes. Integer components support 100 digits and calculations use exact integer arithmetic. The rounded decimal is a display choice; the fraction remains exact.

Explore related tools

Connect fractions to percentages, explore the math calculator directory, or convert physical measurements.

Learning references