Tools logoTools/
Math & Science/Decimal to Fraction Calculator

Decimal to Fraction Calculator

Convert decimals to simplified fractions and mixed numbers — handles repeating decimals.

Runs locally·Free, no signup·Updated May 6, 2026
Loading tool…
How it works

A walkthrough, end to end.

  1. 1

    Enter a decimal number — terminating or repeating.

  2. 2

    Optionally mark the repeating block (e.g. 0.16 with 6 repeating).

  3. 3

    See the simplified fraction, mixed number, and exact decimal.

Reference

Decimal → fraction

For terminating decimals, multiply by 10ⁿ to clear the decimal point, then divide by 10ⁿ and reduce. For repeating decimals, use algebra: x = 0.aaaa…, 10ⁿx − x cancels the repeat.

Use cases

What you can do with this.

Cooking measurements

Convert 0.375 cups to 3/8 cup.

Carpentry

Translate 0.625 inches to 5/8".

Math homework

Verify decimal-fraction conversions instantly.

Finance percentages

0.05 = 1/20 — quick exact ratio.

Recipe scaling

0.75 cup × 2 = 1.5 = 1 1/2 cups.

Repeating decimals

0.333… = 1/3, 0.142857… = 1/7.

Engineering specs

Convert decimal inches to standard fractional sizes.

Decimal ↔ fraction 2026 — what's current

Foundational; calculator wins for repeating-decimal handling.

FAQ

Frequently asked.

  • Enter the repeating block separately (e.g. non-repeating part 0.1, repeating part 6 → 0.1666…).

  • Yes — leading minus sign is fine.

  • Up to ~15 significant digits — JavaScript double precision.

  • No. All math runs in your browser.