# Calculating in Text Documents

From LibreOffice Help

You can insert a calculation directly into a text document or into a text table.

- Click in the document where you want to insert the calculation, and then press F2. If you are in a table cell, type an equals sign =.
- Type the calculation that you want to insert, for example,
`=10000/12`

, and then press Enter.

You can also click the **Formula** icon on the **Formula Bar**, and then choose a function for your formula.

To reference cells in a Writer text table, enclose the cell address or the cell range in angle brackets. For example, to reference cell A1 from another cell, enter =<A1> into the cell. |

**Related Topics**

Calculating Complex Formulas in Text Documents

Calculating and Pasting the Result of a Formula in a Text Document