# Making Calculations

Once you've got all the data in your model, 'Calculation' steps will be the last steps you add before you set your final outputs.

There are two kinds of steps available:

* 'Factors' will allow you to calculate a table of risk factors from all of the data in your quote, returning a weight or rule that you can use for your final pricing calculations
* 'Calculation' will allow you to define complex calculations you can use for final prices or rates

<figure><img src="/files/16w5D6JLyBkAbN90nC4B" alt="" width="375"><figcaption><p>Choose your 'Calculation' step</p></figcaption></figure>

## Learn more about Calculation steps:

[Factors](/swallow/build/making-calculations/factors.md)

[Calculation](/swallow/build/making-calculations/calculation.md)


---

# Agent Instructions: 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:

```
GET https://swallow-1.gitbook.io/swallow/build/making-calculations.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
