# Calculator

In the theme, you can also sell the listings by loan. Display the auto loan calculator on the single listing page to allow users to estimate monthly payments, and see how much total interest should be paid and the loan amortization schedule.

{% hint style="info" %}
The **Loan Calculator** option **is not available** in all **Classified Layouts**, **Rental**, and **Service** layouts.
{% endhint %}

![](/files/-MXpqrvKbpzvgItt-k-j)

In the **Calculator section**, you can set the loan calculator default values.

Enter the **interest rate** and **month period** on the **Default Interest Rate** and **Month Period fields** respectively. Then indicate the **Down payment** settings on the appropriate fields.&#x20;

**The loan amount is calculated via the following formula:**&#x20;

$$
EMI = ( P × r × (1+r)^n ) / ((1+r)^n − 1)
$$

&#x20;Where: &#x20;

* EMI = Equated Monthly Installment
* P =  Down payment amount
* r = Default Interest Rate
* n = Default Month Period

## STM Single Car Calculator

To display the calculator on the **Dealer One/Two and Aircraft's** layouts first enable the **Show Calculator** option on the **Single Listing > Main** section. Then add the **STM Single Car Calculator** element to the page template.

![](/files/-MYOTr_SxjOtFjDYx2Eo)

On the **Classified One/Two/Three/Four, Boats and Magazine** layouts there **is no** **Show Calculator** option. Just include the **STM Single Car Calculator** element o the page template as above or include the **STM Single Car Calculator widget** to the single listing sidebar under the **Appearance > Widgets** section to display the loan calculator.

![](/files/-MYOStV7qqbqKFW1oPR9)

On the **Motorcycles** and **Equipment** layouts, it is enough to enable the **Show Calculator** option on the **Single Listing > Main** section. The loan calculator button will be added automatically and **displayed as a pop-up modal**, there is no need to add any widget to display it.&#x20;

{% hint style="info" %}
The STM Single Car Calculator automatically takes the listing price, counts all the loan payments, and displays them in the calculator area.
{% endhint %}

{% tabs %}
{% tab title="STM Single Car Calculator View" %}
![](/files/-MXqFVt8LIQFj_xF9-7i)
{% endtab %}

{% tab title="Loan Calculator on Motorcycles/Equipment" %}
![](/files/-MXqR99zXKfs0eHZvAZM)
{% endtab %}
{% endtabs %}

## STM Auto Loan Calculator

Also, there is an **STM Auto Loan Calculator element. This is a simple** calculator that calculates auto loans. You can write the required price of the product and calculate the loan conditions.

![](/files/-MYOZ9juiOgXLVHNEvJZ)


---

# 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://docs.stylemixthemes.com/motors-theme-documentation/theme-options/single-listing/calculator.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.
