> For the complete documentation index, see [llms.txt](https://knowledge.out-smart.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledge.out-smart.com/backoffice/backoffice/calculations.md).

# Calculations

Build cost calculations, control your margin, and turn them into quotations.

## Calculations

**Calculations** lets you work out the cost, margin, and sales price of a job before you send a quotation.

Use it to add materials and hours, set the margin you want, and check your result against your margin goals.

{% hint style="info" %}
A calculation is a preparation document.

You export it to a quotation when you are ready to send prices to the customer.
{% endhint %}

#### Start here

* [What are Calculations?](/backoffice/backoffice/calculations/what-are-calculations.md)

#### Create and process calculations

* [Create a calculation](/backoffice/backoffice/calculations/create-a-calculation.md)
* [Understand margin versus markup](/backoffice/backoffice/calculations/understand-margin-versus-markup.md)
* [Export a calculation to a quotation](/backoffice/backoffice/calculations/export-a-calculation-to-a-quotation.md)

#### Configure calculation setup

* [Set margin goals and colors](/backoffice/backoffice/calculations/set-margin-goals-and-colors.md)

#### What you can do with calculations

* calculate purchase price, margin, and sales price
* apply a default margin automatically
* check results against margin goals
* export a calculation to a new or existing quotation

#### Related topics

* [Invoices](/backoffice/backoffice/invoices.md)
* [Items and Materials](/backoffice/backoffice/items-and-materials.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://knowledge.out-smart.com/backoffice/backoffice/calculations.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
