MATH · FREE TOOL

Fraction calculator

Calculate with fractions and mixed numbers, or convert and simplify one number with exact steps.

On-device processing · No account · No ads

Files and entered values are processed in your browser, without uploading them to Toolfred. Our tools do not automatically save your work or send it to embedded analytics.

Pages, libraries and shared reference files still download from our host. Downloads you save, browser recovery and hosting logs have separate retention. Local processing is not a guarantee of anonymity or secure deletion.

See where data goes →

Examples: 2/3, -1 1/2, 0.125 or 7. A negative mixed number means the negative of the whole amount. Use positive denominators and a proper fraction in mixed numbers.

Exact arithmetic first. A decimal only when useful.

Inputs are represented as integer numerator/denominator pairs. A decimal such as 0.125 becomes 125/1000, then reduces to 1/8. A mixed number such as −1 1/2 means −(1 + 1/2), or −3/2. Negative denominators and improper fractional parts in mixed numbers are rejected; enter a signed ordinary fraction instead.

For addition and subtraction, a/b ± c/d = (ad ± bc) / bd. Multiplication is ac/bd. Division is ad/bc, with c ≠ 0. The numerator and denominator are reduced by their greatest common divisor, and the sign stays on the numerator.

Example: 1 1/2 + 2/3 = 3/2 + 2/3 = (9 + 4)/6 = 13/6 = 2 1/6. The decimal, about 2.16666666667, is rounded to 12 significant digits. BigInt keeps the fraction exact within the documented input bounds; a repeating decimal is never claimed to terminate.

Choose Convert or simplify one number to reduce a fraction or convert an entered finite decimal. For example, 0.125 becomes 1/8. Entering 2.16666666667 produces 216666666667/100000000000, not exactly 13/6. To preserve the exact repeating value, enter 13/6 instead.

Before you use the result

Can I enter just one decimal or fraction?

Yes. Choose Convert or simplify one number. A finite decimal such as 0.125 becomes exactly 1/8; a fraction such as 12/18 simplifies to 2/3. Repeating-decimal notation is not accepted.

Why does a rounded decimal give a different fraction?

The tool preserves the number you entered. 13/6 repeats forever, while 2.16666666667 stops after eleven decimal places. They are close, but not exactly equal. Enter 13/6 when that is the value you mean.