Don't like ads? Go Ad-Free Today

Fraction to Decimal Converter

Developer
ADVERTISEMENT · REMOVE?

Fraction to Decimal


Decimal to Fraction

Enter a decimal. Use ... or parentheses for repeating: 0.333... or 0.(3)

Fraction Operations

Conversion Results


Long Division


Decimal to Fraction Result


Operation Result


Common Fractions Reference

ADVERTISEMENT · REMOVE?

Guide

Fraction to Decimal Converter

Fraction to Decimal Converter

Convert fractions to decimals with exact repeating decimal detection and notation. Enter a simple fraction or mixed number and instantly see the decimal value, simplified fraction, percentage, and whether the decimal terminates or repeats. Includes step-by-step long division visualization, reverse decimal-to-fraction conversion, and fraction arithmetic operations.

How to Use

Enter a numerator and denominator, or enable mixed number mode to include a whole number. Click common fraction quick buttons for frequently used values. The converter instantly shows the decimal result with repeating cycle notation, simplified fraction, mixed number form, and percentage. View the long division visualization to see how the decimal is computed step by step. Use reverse mode to convert a decimal back to a fraction, or perform fraction arithmetic with two fractions.

Features

  • Repeating Decimal Detection — Automatically detects repeating cycles using long division remainder tracking. Shows repeating digits with overbar notation and parentheses notation (e.g., 1/7 = 0.142857 with repeating mark).
  • Fraction Simplification — Reduces fractions to lowest terms using the GCD algorithm. Shows both original and simplified forms.
  • Mixed Number Support — Enter mixed numbers (e.g., 2 1/3) and convert improper fractions to mixed number form automatically.
  • Long Division Visualization — Step-by-step display of the long division process with remainders at each step. Highlights where a remainder repeats to show the cycle start.
  • Reverse Conversion — Enter a decimal to find the exact fraction. Handles terminating decimals and repeating decimals entered with notation like 0.(3) or 0.333… Optional max denominator limit.
  • Fraction Operations — Add, subtract, multiply, and divide two fractions with simplified results shown as both fraction and decimal.
  • Quick Reference — Common fractions table with decimal and percentage equivalents for values like 1/2, 1/3, 1/4, 1/8, 2/3, 3/4, and more.

Repeating Decimals

A fraction produces a terminating decimal when the denominator (after simplification) has only factors of 2 and 5. All other fractions produce repeating decimals. For example, 1/4 = 0.25 (terminating) because 4 = 2 x 2, but 1/3 = 0.333… (repeating) because 3 has no factors of 2 or 5. The length of the repeating cycle is always less than the denominator — 1/7 has a 6-digit cycle (142857), which is the maximum for a denominator of 7.

ADVERTISEMENT · REMOVE?

How do you convert a fraction to a decimal?

Divide the numerator by the denominator using long division. For example, 3/4: divide 3 by 4 to get 0.75. For fractions that produce repeating decimals like 1/3, the long division process reveals a remainder that repeats, creating an infinite cycle: 1 divided by 3 = 0.333… The key insight is tracking remainders — when a remainder repeats, the decimal digits will repeat from that point. This tool performs exact long division to detect repeating cycles automatically.

How do you convert a repeating decimal back to a fraction?

For a repeating decimal like 0.333…, use algebra: let x = 0.333…, then 10x = 3.333…, subtract to get 9x = 3, so x = 3/9 = 1/3. For mixed repeating decimals like 0.1666…, the process is similar but accounts for the non-repeating part. For terminating decimals, simply write as a fraction over a power of 10 and simplify: 0.75 = 75/100 = 3/4. This tool handles both cases automatically.

Which fractions produce terminating vs repeating decimals?

A fraction in lowest terms produces a terminating decimal if and only if the denominator has no prime factors other than 2 and 5. So 1/4 (4 = 2×2), 1/8 (8 = 2x2x2), 1/20 (20 = 2x2x5), and 1/25 (25 = 5×5) all terminate. Any denominator with factors of 3, 7, 11, 13, or any prime other than 2 and 5 produces a repeating decimal. This is because our number system is base 10 = 2 x 5, so only those prime factors divide evenly.

Is my data sent to a server?

No — all calculations happen entirely in your browser using JavaScript arithmetic and BigInt for precision. No data is transmitted to any server. The long division algorithm, GCD computation, repeating cycle detection, and fraction operations all run client-side.

Want To enjoy an ad-free experience? Go Ad-Free Today

Install Our Extensions

Add IO tools to your favorite browser for instant access and faster searching

Add to Chrome Extension Add to Edge Extension Add to Firefox Extension Add to Opera Extension

Scoreboard Has Arrived!

Scoreboard is a fun way to keep track of your games, all data is stored in your browser. More features are coming soon!

ADVERTISEMENT · REMOVE?
ADVERTISEMENT · REMOVE?
ADVERTISEMENT · REMOVE?

News Corner w/ Tech Highlights

Get Involved

Help us continue providing valuable free tools

Buy me a coffee
ADVERTISEMENT · REMOVE?