Decimal to Fraction Calculator

Loading calculator

Online Decimal to Fraction Calculator

The PikaConverter Decimal to Fraction Calculator is a free online tool for converting decimal numbers into fractions and fractions into decimals. It helps you switch between two common ways of representing numbers, whether you are working with whole numbers, decimal values, or fractions.

The calculator provides two conversion modes: Decimal to Fraction and Fraction to Decimal. Select the appropriate mode, enter your value, and check the converted result.

This online fraction converter is useful for students, teachers, engineers, and anyone working with mathematical calculations, measurements, or numerical comparisons.

How to Use the Decimal to Fraction Converter

PikaConverter allows you to convert numbers in both directions.

Convert Decimal to Fraction

  1. Select Decimal to Fraction.

  2. Enter the decimal number in the input field.

  3. Check the converted fraction in the Result section.

  4. Use the available options to copy or share the result.

For example, converting 0.75 into a fraction gives:

0.75 = 3/4

The decimal and fraction represent exactly the same numerical value.

Convert Fraction to Decimal

  1. Select Fraction to Decimal.

  2. Enter the numerator in the Numerator field.

  3. Enter the denominator in the Denominator field.

  4. Check the decimal result.

  5. Copy or share the result using the available controls.

For example:

Numerator = 3

Denominator = 4

Result: 3/4 = 0.75

The denominator must not be zero because division by zero is undefined.

What Is Decimal to Fraction Conversion?

Decimal to fraction conversion is the process of expressing a decimal number as a ratio of two integers.

A fraction is written as:

Numerator / Denominator

For example:

0.5 = 1/2

0.25 = 1/4

0.75 = 3/4

Every terminating decimal can be written exactly as a fraction because its digits represent a value over a power of ten.

For example:

0.125 = 125/1000

After simplifying:

0.125 = 1/8

The numerical value remains unchanged. Only its representation changes.

How to Convert a Decimal to a Fraction

To convert a terminating decimal into a fraction, use the number of decimal places to determine the denominator.

Follow these steps:

  1. Count the digits after the decimal point.

  2. Remove the decimal point and use the resulting integer as the numerator.

  3. Write the denominator as 10, 100, 1000, or another power of ten, according to the number of decimal places.

  4. Simplify the fraction by dividing the numerator and denominator by their greatest common divisor (GCD).

Decimal to Fraction Formula

For a terminating decimal with n decimal places, the fraction can be written as:

Fraction = Integer formed by removing the decimal point / 10ⁿ

The negative sign is retained when converting a negative decimal.

For example, 0.375 has three decimal places.

Therefore:

0.375 = 375/1000

The greatest common divisor of 375 and 1000 is 125.

Divide both values by 125:

375 ÷ 125 = 3

1000 ÷ 125 = 8

Result: 0.375 = 3/8

Example: Convert 0.625 to a Fraction

The decimal 0.625 has three digits after the decimal point.

Write it over 1000:

0.625 = 625/1000

Divide the numerator and denominator by 125:

625 ÷ 125 = 5

1000 ÷ 125 = 8

Result: 0.625 = 5/8

Example: Convert 1.25 to a Fraction

The decimal 1.25 has two decimal places.

Write:

1.25 = 125/100

Simplify by dividing by 25:

125 ÷ 25 = 5

100 ÷ 25 = 4

Result: 1.25 = 5/4

As a mixed number:

1.25 = 1 1/4

An improper fraction and its mixed-number equivalent represent the same value.

Negative Decimal to Fraction Conversion

Negative decimal numbers can also be expressed as fractions.

The conversion process is the same as for positive decimals, except that the negative sign must be preserved.

For example:

−0.5 = −5/10

After simplifying:

−0.5 = −1/2

The negative sign may be written before the fraction or in the numerator.

How to Convert −0.2 to a Fraction

The decimal −0.2 has one decimal place.

Write:

−0.2 = −2/10

Divide the numerator and denominator by 2:

−0.2 = −1/5

The same result applies when the decimal is written as -.2, without a leading zero.

Negative Decimal to Fraction Examples

Decimal

Fraction

Simplified Result

−0.1

−1/10

−1/10

−0.2

−2/10

−1/5

−0.25

−25/100

−1/4

−0.4

−4/10

−2/5

−0.5

−5/10

−1/2

−0.75

−75/100

−3/4

−1

−1/1

−1

−2

−2/1

−2

−3

−3/1

−3

−4

−4/1

−4

−5

−5/1

−5

A negative whole number can be written as a fraction with a denominator of 1.

For example:

−3 = −3/1

This is already in simplest form.

Decimal to Fraction Conversion Table

The following table lists common decimal values and their equivalent fractions in lowest terms.

Decimal

Fraction

0.01

1/100

0.05

1/20

0.1

1/10

0.125

1/8

0.2

1/5

0.25

1/4

0.3

3/10

0.375

3/8

0.4

2/5

0.5

1/2

0.6

3/5

0.625

5/8

0.75

3/4

0.8

4/5

0.875

7/8

0.9

9/10

1.25

5/4

1.5

3/2

1.75

7/4

2.5

5/2

These are exact conversions for the terminating decimal values shown.

Simplifying Fractions

A fraction is in its simplest form, or lowest terms, when its numerator and denominator have no common positive factor other than 1.

For example:

50/100

Both numbers are divisible by 50.

Therefore:

50/100 = 1/2

The simplified fraction is easier to read and use in calculations.

Greatest Common Divisor

The greatest common divisor (GCD), also called the greatest common factor (GCF), is the largest positive integer that divides both numbers without a remainder.

To simplify a fraction:

Simplified Numerator = Numerator / GCD

Simplified Denominator = Denominator / GCD

For example:

0.48 = 48/100

The GCD of 48 and 100 is 4.

Divide both values by 4:

48 ÷ 4 = 12

100 ÷ 4 = 25

Result: 0.48 = 12/25

Fraction to Decimal Calculator

A fraction to decimal calculator converts a fraction into its decimal representation by dividing the numerator by the denominator.

The formula is:

Decimal = Numerator / Denominator

For example:

3/8 = 3 ÷ 8

Result: 0.375

This conversion is useful when decimal notation is more convenient for calculations, comparisons, or measurements.

How to Convert a Fraction to a Decimal

To convert a fraction manually:

  1. Identify the numerator and denominator.

  2. Divide the numerator by the denominator.

  3. Write the quotient in decimal form.

  4. If the division does not terminate, identify the repeating decimal or use an appropriate rounded approximation.

For example:

7/20 = 7 ÷ 20

Result: 0.35

Another example:

5/4 = 5 ÷ 4

Result: 1.25

Fraction to Decimal Examples

Fraction

Decimal

1/2

0.5

1/3

0.333...

1/4

0.25

1/5

0.2

1/6

0.1666...

1/8

0.125

2/3

0.666...

3/4

0.75

3/5

0.6

5/8

0.625

7/8

0.875

9/10

0.9

The ellipsis (...) indicates that the decimal continues indefinitely.

Terminating and Repeating Decimals

Decimal numbers can be classified according to whether their digits end or continue indefinitely.

Terminating Decimals

A terminating decimal has a finite number of digits after the decimal point.

Examples include:

0.5

0.125

0.75

1.25

Every terminating decimal can be written exactly as a fraction with a denominator that is a power of ten before simplification.

For example:

0.125 = 125/1000 = 1/8

Repeating Decimals

A repeating decimal has a sequence of digits that repeats indefinitely.

For example:

1/3 = 0.333...

2/3 = 0.666...

1/7 = 0.142857142857...

These decimal expansions never terminate.

Repeating decimals can also be expressed exactly as fractions using algebraic methods.

How to Convert a Repeating Decimal to a Fraction

Consider the repeating decimal:

0.333...

Let:

x = 0.333...

Multiply both sides by 10:

10x = 3.333...

Subtract the original equation:

10x − x = 3.333... − 0.333...

9x = 3

Therefore:

x = 1/3

This is an exact mathematical conversion.

Repeating decimals must be distinguished from finite decimal approximations. For example, the terminating decimal 0.333 is exactly 333/1000, not 1/3.

The method above is an educational explanation; it does not imply that the calculator accepts special repeating-decimal notation.

When Does a Fraction Produce a Terminating Decimal?

A fraction in lowest terms produces a terminating decimal if its denominator has no prime factors other than 2 and 5.

For example:

3/8

The denominator is:

8 = 2³

Therefore, its decimal representation terminates:

3/8 = 0.375

Another example is:

7/20

20 = 2² × 5

Therefore:

7/20 = 0.35

However:

1/3

The denominator contains the prime factor 3, so the decimal repeats:

1/3 = 0.333...

This rule applies to rational numbers expressed as fractions in lowest terms with nonzero denominators.

Decimal to Fraction vs. Fraction to Decimal

Both conversions express the same numerical value in different forms.

Feature

Decimal to Fraction

Fraction to Decimal

Input

Decimal number

Numerator and denominator

Output

Fraction

Decimal number

Main method

Place value and simplification

Division

Example

0.75 = 3/4

3/4 = 0.75

Common application

Exact ratios and fractional notation

Numerical comparisons and calculations

Fractions are often useful when exact rational values are needed.

Decimals are frequently preferred when comparing numerical quantities or working with decimal-based measurements.

Applications of Decimal and Fraction Conversion

Decimal and fraction conversion is used in mathematics, education, engineering, and everyday numerical work.

Mathematics and Education

Students use fractions and decimals to understand equivalent values, place value, division, and rational numbers.

For example:

0.25 = 1/4

0.5 = 1/2

0.75 = 3/4

Recognizing these relationships helps with arithmetic and algebra.

Measurements and Engineering

Measurements can be written using decimals or fractions.

For example, a measurement of 0.625 inches is equivalent to 5/8 inch.

Both forms describe the same length.

Fractional measurements are common in certain engineering drawings, workshop measurements, and inch-based specifications.

Cooking and Recipes

Recipes often express quantities as fractions.

For example:

0.5 cup = 1/2 cup

0.25 cup = 1/4 cup

0.75 cup = 3/4 cup

Converting decimal quantities into fractions can make measurements easier to interpret.

Finance and Percentages

Decimals, fractions, and percentages can represent the same proportion.

For example:

0.25 = 1/4 = 25%

Similarly:

0.125 = 1/8 = 12.5%

Understanding these relationships is useful when working with discounts, interest rates, and proportional calculations.

Common Decimal to Fraction Mistakes

Several errors can lead to incorrect conversions.

  • Choosing the wrong denominator: A decimal with two places uses 100 as the initial denominator, while a decimal with three places uses 1000.

  • Forgetting to simplify: The fraction 75/100 is equivalent to 3/4, but 3/4 is in lowest terms.

  • Losing the negative sign: The decimal −0.25 equals −1/4, not 1/4.

  • Confusing a repeating decimal with a finite decimal: 0.333 and 0.333... are different numbers.

  • Using a zero denominator: Division by zero is undefined.

  • Confusing improper fractions and mixed numbers: The values 5/4 and 1 1/4 are equivalent.

  • Assuming every fraction has a terminating decimal: Some fractions produce repeating decimal expansions.

  • Rounding too early: Rounding an intermediate decimal may reduce precision in later calculations.

Checking the number of decimal places, the sign, and the simplified fraction helps prevent these mistakes.

Frequently Asked Questions

What is a decimal to fraction calculator?

A decimal to fraction calculator converts decimal numbers into equivalent fractions. PikaConverter also provides a Fraction to Decimal mode for converting in the opposite direction.

How do I convert a decimal to a fraction?

Write the terminating decimal over a power of ten based on its decimal places, then simplify. For example, 0.75 = 75/100 = 3/4.

What is 0.5 as a fraction?

0.5 = 5/10 = 1/2.

What is 0.25 as a fraction?

0.25 = 25/100 = 1/4.

What is 0.75 as a fraction?

0.75 = 75/100 = 3/4.

What is 0.125 as a fraction?

0.125 = 125/1000 = 1/8.

What is −0.2 as a fraction?

−0.2 = −2/10 = −1/5.

What is −0.4 as a fraction?

−0.4 = −4/10 = −2/5.

What is −1 as a fraction?

−1 can be written as −1/1. The same rule applies to other negative integers, such as −2/1 and −3/1.

What is 1.5 as a fraction?

1.5 = 15/10 = 3/2, or 1 1/2 as a mixed number.

What is 2.75 as a fraction?

2.75 = 275/100 = 11/4, or 2 3/4 as a mixed number.

How do I convert a fraction to a decimal?

Divide the numerator by the denominator. For example, 3/4 = 3 ÷ 4 = 0.75.

What is 1/8 as a decimal?

1/8 = 0.125.

What is 3/5 as a decimal?

3/5 = 0.6.

Can negative decimals be converted to fractions?

Yes. Negative decimals follow the same conversion steps as positive decimals, with the negative sign preserved.

Can repeating decimals be converted to fractions?

Yes. Every repeating decimal represents a rational number and can be written as a fraction. For example, 0.333... = 1/3. Exact conversion of repeating notation requires a method different from the basic terminating-decimal conversion.

Can every decimal be converted to a fraction?

Every terminating or repeating decimal can be expressed exactly as a fraction. Non-repeating, non-terminating decimal expansions of irrational numbers cannot be represented exactly as a ratio of two integers.

What is the difference between a numerator and denominator?

The numerator is the number above the fraction bar, while the denominator is the number below it. For example, in 3/4, the numerator is 3 and the denominator is 4.

Why should fractions be simplified?

Simplifying a fraction produces an equivalent expression in lowest terms, making it easier to read and use in calculations.

Is the PikaConverter Decimal to Fraction Calculator free?

Yes. PikaConverter provides a free online tool with Decimal to Fraction and Fraction to Decimal conversion modes.

Author: مهشید بایرامی