We come across fractions in our daily lives, be it at work or school.
We find the need to write bits in our documents, be it a cooking recipe, an article, a school assignment, etc.
People, especially students, involved in Maths and Science will find the need to write fractions in their reports. Not only this but you will also see them being used extensively in the field of business and accounting.
Google Docs is an excellent platform for writing any type of article, financial reports, cooking recipes, etc. and it offers multiple ways to write fractions. Your document looks more professional if you write the fraction a/b as a/b and you may agree that the former looks better.
Documents that involve math may sometimes require using fractions to represent a value. If we were to write the following like so:
1/2 + 1/2 = 1
You can tell that visually it does not look good or professional.
If we were to write it like
1/2+1/2= 1
You can immediately tell there is some form of visual clarity here.
So, in this article, I will show you how to write fractions in Google Docs using different methods.
Some of these methods will only require in-built features in Google Docs whereas others might require the help of external websites or 3rd party add-ons.
Method 1: Write Fractions in Google Docs Using Google Docs Auto-Formatting
This is the easiest method to write fractions in Google Docs involving numbers.
By default, Google Docs formats any fractions (having numbers) that you type in. If for some reason this auto-formatting is not enabled, you can enable it and then type your fraction to get it auto-formatted.
To check if auto-formatting is enabled follow the steps below. We will see an example where we type the fraction 1/2.
- From the menu bar clicks on the Tools button.
- In the menu that appears click on Preferences.
- The Preferences window will open as shown.
- Click on the Substitutions tab.
- Check the Automatic Substitution checkbox.
- Click on OK.
- Now on your Google Docs page, type the following.
- Press Enter. The result will look like the one shown below.
The dotted underline indicates that the fraction has been formatted. You can see that the fraction style is slanted.
If this is the fraction format you want, go ahead. If not, then use other methods described below.
Also read: Strikethrough Shortcut in Google Docs
Method 2: Write Fractions in Google Docs Using the Built-In Equation Tool
This is also one of the easiest ways to type fractions in Google Docs.
Furthermore, if you are looking for a vertical style fraction rather than the slanted one as we have seen previously then this method may be used.
This method is useful for writing fractions that involve both numbers as well as alphabets or characters.
We will see an example where we type the fraction 1/2.
- From the menu bar click on the Insert button.
- In the menu that appears click on the Equation button.
- An equation box will appear on the page along with an options bar on the top as shown.
- From the options bar, select the Math Operations drop-down.
- The following options will appear.
- Click on the Fraction option as shown.
- In the equation box, type 1 (the numerator in the fraction) and press Enter.
- In the equation box, type 2 (the denominator in the fraction) and press Enter.
- Press Enter one more time. The final result will look like the one shown below.
You can see that by using this method we have written a fraction that is formatted in a vertical style.
Also read: Superscript Shortcut in Google Docs
Method 3: Write Fractions in Google Docs Using Subscript and Superscript
This method is for formatting fractions that do not involve numbers. Say for example a/b.
This may be required if you are writing a mathematical expression and so this method is the way to go.
We will see an example where we will type the fraction 1/2.
- Type the following. (Do not press Enter or any other key.)
- Select the numerator in the fraction (as shown below)
- From the menu bar click on the Format button.
- Hover your mouse over the Text option.
- Select the Superscript option.
- On your page select the denominator as shown.
- From the menu bar click on the Format button.
- Hover your mouse over the Text option.
- Select the Subscript option.
- The result will look like the one shown below.
Again you can see that the fraction style is slanted. If this is the look you’re going for, go ahead.
If not, then use other methods described below or the previous method using the built-in equation tool.
However, this method is useful if you want a slanted style and want to write fractions that do not involve numbers.
Method 4: Write Fractions in Google Docs Using 3rd Party Add-Ons
In this method, we will install a 3rd party add-on in our Google Docs to help us write fractions. The add-on we will be installing is called Auto-Latex Equations.
We will see an example where we type the fraction 1/2 with the help of this add-on.
- From the menu bar click the Extensions button.
- Hover your mouse over the Add-ons option.
- Select the Get add-ons option.
- The Google Workspace Marketplace window will appear as shown.
- In the search bar type latex and press Enter.
- The search results will appear as shown.
- Select the Auto-LaTex Equations as shown below. (This will usually be the first search result)
- The following window will appear.
- Click on Install.
- After the installation has finished the following window will appear.
- Close the Dialog Box by clicking the X button.
- Also, close the Google Workspace Marketplace window by clicking the X button.
- From the menu bar click the Extensions button.
- Hover your mouse over the Auto-LaTex Equations option.
- Select Start.
- The following window will appear on the right after you select Start.
LaTex uses a formula for writing fractions. The formula is as follows:
$$\frac{a}{b}$$
In this formula ‘a’ represents the numerator while ‘b’ represents the denominator. So for our example, the formula will be:
$$\frac{1}{2}$$
- Type the formula on your Google Docs page as shown.
- In the Auto-LaTex Equations window click on Render Equations.
- The final result will look like this.
As you can see, the fraction has been inserted using the help of the add-on.
If you’re thinking that this is an overkill, I agree.
This is a good way to use if you are anyway using the LATEX in Google docs. You can then use the above steps to also write fractions in Google Docs.
If you are familiar with the Latex format, this add-on will allow you to write fractions inside Google Docs without having the need to go to other websites or use other software apps.
Method 5: Write Fractions in Google Docs Using a LaTex Website
This method uses the help of an external website. The fraction is created in the form of an image which is then copied over into Google Docs.
The website uses LaTex equations for writing fractions and generates a high-quality image.
We will see an example where we type the fraction 1/2.
- Go to the Latex website using the following link: https://latex.codecogs.com/eqneditor/editor.php
- The webpage will appear as shown.
- From the options available click on the Fraction option as shown.
- This will generate a code in the text area with two curly brackets as shown.
- Type 1 in the first curly brace. This is the numerator.
- Type 2 in the second curly brace. This is the denominator.
- An image will appear as shown.
- Right-Click on the image and select Copy Image from the context menu.
(This context menu may appear differently on different browsers).
- Go to Google Docs and place your cursor where you want to insert the image.
- Right-click and select Paste.
- The result will be as shown.
This method generates an image that is copied into your Google Docs file.
If you want to change this, you cannot edit this directly in Google Docs. You will have to go back to the website and redo it all over again.
The good thing, however is that the images generated are very high quality, and the website has options to scale the image as per your requirement.
Even if you choose a large-size image, the quality will be crisp (which could be useful if you want to get your Google Docs file printed).
So in this article, we have seen five different methods of writing fractions in Google Docs.
Methods 1 and 3 insert the fraction in a slanting style, whereas Methods 2, 4, and 5 use a vertical style.
It is up to you to decide which style you prefer for the fraction and then choose the method accordingly.
Other Google Docs articles you may also like: