Decimal Fraction Conversion

This calculator converts decimal numbers to fractions and fractions to mixed numbers. Enter how many decimal places the decimal number repeats for repeating decimals.

Decimal Fraction Conversion

Decimal
Whole Number
Fraction
/

Output

0
1/2
1
    Introduction

    Decimal Fraction Conversion Calculator

    Use this calculator to convert a decimal number to a fraction or mixed number. It can handle terminating decimals and repeating decimals when the repeating-digit count is specified. The result is reduced to lowest terms whenever possible.

    A decimal that ends and a decimal that repeats forever must be interpreted differently. For example, the terminating value 0.33333333 is exactly 33333333/100000000, while the repeating decimal 0.333... is exactly 1/3. Enter the repeating information correctly when the digits continue indefinitely.

    How to Use the Decimal to Fraction Converter

    1. Enter the decimal value, including a minus sign if the value is negative.

    2. For a terminating decimal, set the number of repeating decimal places to zero.

    3. For a repeating decimal, enter the number of digits in the repeating block.

    4. Read the simplified fraction and, when the absolute value is at least one, the mixed-number result.

    Example: for 0.1666..., the non-repeating digit is 1 and the repeating block is 6, so the repeating-digit count is 1. The exact result is 1/6.

    What Are Decimals and Fractions?

    A decimal uses place value based on powers of ten. Digits to the right of the decimal point represent tenths, hundredths, thousandths, and smaller powers of ten.

    A fraction is written as a numerator divided by a denominator. In a/b, a is the numerator and b is the denominator, with b not equal to zero. Fractions that represent the same value are equivalent; a fraction is in lowest terms when its numerator and denominator have no common factor greater than one.

    A rational number can be written as a fraction of two integers. Its decimal representation either terminates or eventually repeats. A nonterminating, nonrepeating decimal cannot be represented exactly as a fraction of two integers.

    How to Convert a Terminating Decimal to a Fraction

    If a terminating decimal has n digits after the decimal point, remove the decimal point to form an integer numerator and use 10n as the denominator. Then divide the numerator and denominator by their greatest common divisor.

    Decimal = Integer formed from the digits ÷ 10n

    Example: Convert 0.375 to a Fraction

    1. There are three decimal places, so the denominator is 103 = 1000.

    2. Write 0.375 as 375/1000.

    3. The greatest common divisor of 375 and 1000 is 125.

    4. Divide both values by 125: 375/1000 = 3/8.

    0.375 = 3/8

    Example: Convert −2.45 to a Fraction

    Keep the negative sign, write the digits over 100, and reduce:

    −2.45 = −245/100 = −49/20 = −2 9/20

    How to Convert a Repeating Decimal to a Fraction

    Parentheses are used below to identify a repeating block. For example, 0.(3) means 0.333..., and 0.1(6) means 0.1666....

    Pure Repeating Decimal

    If all decimal digits repeat and the repeating block has n digits, place the repeating block over a denominator containing n nines, then reduce the fraction.

    0.(27) = 27/99 = 3/11

    The same result can be derived algebraically. Let x = 0.272727.... Multiplying by 100 gives 100x = 27.272727.... Subtracting x removes the repeating part:

    100x − x = 27, so 99x = 27 and x = 3/11

    Decimal with Non-Repeating and Repeating Digits

    For a decimal with m non-repeating decimal digits followed by a repeating block of n digits, use:

    Fraction = (digits through one complete repeat − non-repeating leading digits) ÷ (10m+n − 10m)

    Example: Convert 0.1(6) to a Fraction

    There is one non-repeating digit and one repeating digit:

    0.1(6) = (16 − 1) ÷ (100 − 10) = 15/90 = 1/6

    Example: Convert 2.3(45) to a Fraction

    Use the digits through one repeating block, including the whole-number part:

    2.3(45) = (2345 − 23) ÷ (1000 − 10) = 2322/990 = 129/55 = 2 19/55

    How to Convert a Fraction to a Decimal

    Divide the numerator by the denominator:

    Decimal value = Numerator ÷ Denominator

    • 3/8 = 3 ÷ 8 = 0.375

    • 7/4 = 7 ÷ 4 = 1.75

    • 1/6 = 1 ÷ 6 = 0.1666...

    • −11/5 = −11 ÷ 5 = −2.2

    After a fraction is reduced to lowest terms, its decimal terminates only when the denominator has no prime factors other than 2 and 5. For example, 3/40 terminates because 40 = 23 × 5, while 1/6 repeats because the denominator includes a factor of 3.

    Fractions and Mixed Numbers

    A proper fraction has an absolute numerator smaller than its denominator, such as 3/8. An improper fraction has an absolute numerator equal to or greater than its denominator, such as 17/5. A mixed number combines a whole-number part and a proper fraction.

    Convert an Improper Fraction to a Mixed Number

    1. Divide the numerator by the denominator.

    2. Use the quotient as the whole-number part.

    3. Use the remainder as the new numerator.

    4. Keep the original denominator and reduce the fractional part if needed.

    17/5 = 3 remainder 2 = 3 2/5

    Convert a Mixed Number to an Improper Fraction

    Multiply the whole number by the denominator, add the numerator, and place the result over the original denominator:

    3 2/5 = (3 × 5 + 2)/5 = 17/5

    For a negative mixed number, the minus sign applies to the entire value. Thus −3 2/5 = −17/5.

    Decimal to Fraction Conversion Table

    An ellipsis indicates that the displayed digit or digit block repeats forever. These repeating values are exact only when the repetition continues indefinitely.

    DecimalFractionMixed Number
    0.000011/100000Not applicable
    0.0011/1000Not applicable
    0.011/100Not applicable
    0.06251/16Not applicable
    0.083333...1/12Not applicable
    0.090909...1/11Not applicable
    0.11/10Not applicable
    0.111111...1/9Not applicable
    0.1251/8Not applicable
    0.142857...1/7Not applicable
    0.166666...1/6Not applicable
    0.21/5Not applicable
    0.222222...2/9Not applicable
    0.251/4Not applicable
    0.285714...2/7Not applicable
    0.33/10Not applicable
    0.333333...1/3Not applicable
    0.3753/8Not applicable
    0.42/5Not applicable
    0.428571...3/7Not applicable
    0.51/2Not applicable
    0.571428...4/7Not applicable
    0.6255/8Not applicable
    0.666666...2/3Not applicable
    0.753/4Not applicable
    0.84/5Not applicable
    0.833333...5/6Not applicable
    0.8757/8Not applicable
    0.99/10Not applicable
    1.111/101 1/10
    1.255/41 1/4
    1.53/21 1/2
    1.757/41 3/4
    2.55/22 1/2

    Terminating Decimal Place Values

    Decimal PlacesInitial DenominatorExample
    1100.7 = 7/10
    21000.45 = 45/100 = 9/20
    310000.125 = 125/1000 = 1/8
    4100000.0625 = 625/10000 = 1/16
    51000000.00001 = 1/100000

    Exact Values, Rounded Values, and Approximation

    A calculator can only return the exact intended fraction when the decimal input describes the intended value unambiguously. Consider these two inputs:

    • 0.33333333 with no repeating digits is a terminating decimal and equals 33333333/100000000 exactly.

    • 0.333... with 3 repeating forever equals 1/3 exactly.

    If a decimal came from a rounded measurement, many fractions may lie close to it. For example, a displayed measurement of 0.33 does not prove that the underlying value is exactly 1/3. Treat a “simple fraction” result as an approximation unless the source value or repeating pattern is known exactly.

    Common Conversion Mistakes

    • Leaving the result unreduced, such as reporting 375/1000 instead of 3/8.

    • Treating a finite string of repeated-looking digits as an infinite repeating decimal.

    • Counting the non-repeating digits as part of the repeating block.

    • Using zero as a fraction denominator.

    • Dropping the negative sign when converting a negative decimal.

    • Rounding a decimal before converting it when an exact value is required.

    Decimal and Fraction FAQ

    Can every decimal be converted to a fraction?

    Every terminating decimal and every repeating decimal can be represented exactly as a fraction of integers. A nonterminating decimal with no repeating pattern is irrational and cannot be represented exactly as such a fraction.

    Why does the calculator need the number of repeating places?

    The repeat length identifies which digits continue forever. For example, 0.(3), 0.(27), and 0.1(6) have repeating blocks of one, two, and one digits respectively. Without that information, a typed digit string is normally interpreted as a terminating decimal.

    What is the fastest way to convert a terminating decimal?

    Remove the decimal point, place the resulting integer over 1 followed by one zero for each decimal place, and reduce. Thus 0.024 becomes 24/1000, which reduces to 3/125.

    How do I know whether a fraction produces a terminating decimal?

    First reduce the fraction. Its decimal terminates if the denominator contains only factors of 2 and 5. Otherwise, the decimal repeats.

    What happens if the numerator is larger than the denominator?

    The result is an improper fraction with an absolute value of at least one. It may also be displayed as a mixed number, such as 9/4 = 2 1/4.

    Does 0.999... equal 1?

    Yes. Let x = 0.999.... Then 10x = 9.999.... Subtracting gives 9x = 9, so x = 1. This applies to an infinite repeating decimal, not to a finite input such as 0.999.

    References

    Frequently Asked Questions

    What are the 3 types of decimals?

    (1) Terminating decimals: these have a finite number of digits after the decimal point. (2) Recurring decimals: these have one or more repeating numbers or sequences of numbers after the decimal point, which continue infinitely. (3) Decimals which go on for ever, never ending and never forming a repeating pattern. These numbers are called irrational numbers and cannot be expressed as a fraction. We cover these decimals in the number course.

    What is a non decimal number?

    The number of digits a numeric system uses is called its radix. ... However, for raw binary information, non-decimal numbers (especially hex) are much easier to work with, and they are universally used by programmers from the largest mainframe to the smallest microcomputer.

    Where is a decimal?

    The decimal point is placed in between the ones and the tenths. The whole number is written to the left of the decimal point. The fractional part is written to the right of the decimal point. The decimal point makes it easy to read a decimal number.

    What are the 3 types of fraction?

    In Maths, there are three major types of fractions. They are proper fractions, improper fractions and mixed fractions. Fractions are those terms which have numerator and denominator.

    How do you do fractions in math?

    Step 1: Make sure the bottom numbers (the denominators) are the same. Step 2: Add the top numbers (the numerators), put that answer over the denominator. Step 3: Simplify the fraction (if needed)

    What is the formula of fraction?

    Fraction = number of parts / total parts Every fraction has a numerator that equals the number of parts we have and a denominator equaling the total number of parts in a whole.

    What is a proper fraction?

    A fraction in which the numerator is less or of lower degree than the denominator.

    How do I turn a decimal into a fraction?

    To convert a decimal to a fraction, place the decimal number over its place value. For example, in 0.6, the six is in the tenths place, so we place 6 over 10 to create the equivalent fraction, 6/10. If needed, simplify the fraction.

    What is improper fraction example?

    A fraction where the numerator (the top number) is greater than or equal to the denominator (the bottom number). Example: 5/3 (five thirds) and 9/8 (nine eighths) are improper fractions.

    What are the most common fractions?

    A fraction where both top and bottom numbers are integers. Example: 1/2 and 3/4 are both Common Fractions. But 1.2/4 is NOT a Common Fraction.
    Hot products

    ImagePart NumberManufacturerCategoryPackage/CaseDescriptionPriceQuantityBuy/Quote
    BLM18PG121SN1DBLM18PG121SN1DMurata ElectronicsFerrite Beads and Chips0603 (1608 Metric)MURATA - BLM18PG121SN1D - Ferrite Bead, 0603 [1608 Metric], 120 ohm, 2 A, BLM18P Series, 0.05 ohm, ± 25%-

    In stock : 355131

    Minimum: 1

    TP3420AV309TP3420AV309Texas InstrumentsInterface - Telecom20-LCC (J-Lead)IC TELECOM INTERFACE 20PLCC-

    In stock

    Minimum: 1

    2920L185DR2920L185DRLittelfuse Inc.PTC Resettable Fuses2920 (7351 Metric), ConcavePTC RESET FUSE 33V 1.85A 2920-

    In stock : 7500

    Minimum: 1

    19-217/R6C-AL1M2VY/3T19-217/R6C-AL1M2VY/3TEverlight Electronics Co LtdLED Indication - Discrete0603 (1608 Metric)LED RED CLEAR 2SMD-

    In stock : 6070

    Minimum: 1

    MPZ2012S102AT000MPZ2012S102AT000TDK CorporationFerrite Beads and Chips0805 (2012 Metric)TDK - MPZ2012S102AT000 - FERRITE BEAD, 0.15OHM, 1.5A, 0805-

    In stock : 51745

    Minimum: 1

    MC33153PMC33153PON SemiconductorPMIC - Gate Drivers8-DIP (0.300, 7.62mm)IC DRIVER GATE SINGLE IGBT 8DIP-

    In stock : 10000

    Minimum: 1

    SE2537L-RSE2537L-RSkyworks Solutions Inc.RF Amplifiers16-VFQFN Exposed PadRF Amplifier 5GHz Gain 30 dB 3.3Volt -10C 85C-

    In stock : 10000

    Minimum: 1

    SKY81294-14-001SKY81294-14-001Skyworks Solutions Inc.PMIC - LED Drivers9-BGA, WLCSPIC LED FLASH DVR 1.2V 9CSP
    • 1:$0.524038
    • 10:$0.494375
    • 100:$0.466392
    • 500:$0.439992

    In stock : 22794

    Minimum: 1

    SKY65084-360LFSKY65084-360LFSkyworks Solutions Inc.RF Amplifiers8-VFDFN Exposed PadIC AMP 1.5-2.4GHZ LN 8QFN-

    In stock

    Minimum: 1

    HMC588LC4BTRHMC588LC4BTRAnalog Devices Inc.RF Misc ICs and Modules24-TFQFN Exposed PadIC OSC VCO WIDEBAND 24SMD-

    In stock : 5200

    Minimum: 1

    MC1458DMC1458DON SemiconductorLinear - Amplifiers - Instrumentation, OP Amps, Buffer Amps8-SOIC (0.154, 3.90mm Width)IC OPAMP GP 2 CIRCUIT 8SOIC
    • 1:$0.844476
    • 10:$0.796676
    • 100:$0.751581
    • 500:$0.709039

    In stock : 67

    Minimum: 1

    80HCPS1432CRM80HCPS1432CRMRenesas Electronics America Inc.Specialized ICs576-BBGA, FCBGAIC SER RAPIDIO SWITCH 576FCBGA-

    In stock

    Minimum: 1

    MAX16816ATJ MAX16816ATJ Maxim IntegratedPMIC - LED Drivers32-WFQFN Exposed PadIC, LED DRIVER, BUCK-BOOST, TQFN-32-

    In stock

    Minimum: 1

    DS21Q48NDS21Q48NMaxim IntegratedInterface - Telecom144-BBGAIC LIU E1/T1/J1 4X 5V LONG144BGA-

    In stock

    Minimum: 1

    ALT6702RM45Q7ALT6702RM45Q7Skyworks Solutions Inc.RF Amplifiers-IC RF AMP CELLULAR SMD-

    In stock

    Minimum: 1

    LQH2HPN4R7MGRLLQH2HPN4R7MGRLMurata ElectronicsFixed Inductors1008 (2520 Metric)Fixed Inductors 1008 4.7uH 1000mA /-20%-

    In stock : 100000

    Minimum: 1

    VLS252012HBX-2R2M-1VLS252012HBX-2R2M-1TDK CorporationFixed Inductors1008 (2520 Metric)FIXED IND 2.2UH 2.3A 102 MOHM-

    In stock : 19980

    Minimum: 1

    GRM188R61A106KAALDGRM188R61A106KAALDMurata ElectronicsCeramic Capacitors0603 (1608 Metric)CAP CER 10UF 10V X5R 0603
    • 1:$0.011836

    In stock : 897263

    Minimum: 5

    GRM0335C1E102GA01DGRM0335C1E102GA01DMurata ElectronicsCeramic Capacitors0201 (0603 Metric)CAP CERAMIC 0.001UF 25V C0G 2% P-

    In stock : 15000

    Minimum: 1

    EEF-CS1E150REEF-CS1E150RPanasonic Electronic ComponentsAluminum - Polymer Capacitors2917 (7343 Metric)Aluminum Organic Polymer Capacitors 15uF 25volt
    • 1:$0.596830
    • 10:$0.563048
    • 100:$0.531177
    • 500:$0.501110

    In stock : 80000

    Minimum: 1