# Tuition Fees

![](/files/4xnkf25nTakwizUk37Cl)

Tuition expenses, whether at a university or a school, are a major source of concern for both students and parents. They have to make a budget even before the semester begins. For that reason, the cost calculator is an important aspect. In this post, we will show steps for a tuition-fee calculator.&#x20;

Let's go through the specifics,&#x20;

Backend Preview,

![](/files/Z8LnXFy3KlA3fYTCtbXp)

At first, the student needs to clarify what subject they’re interested in. We’ll use the **Drop Down Menu** for this part,

![](/files/PCrg6Qx2LFrbdOeNtx9D)

We’ve used four major subject choices and their annual fees in the Option Value.

Then, the student needs the books and supply costs for their studies. We’re adding a **Drop Down Menu** for the choices.

![](/files/MlI1AXxFcfOtijaNVeJr)

We’ve added four options along with the expenses.

Thirdly, a residence needs to be chosen. Residence option is basically about the living option for a student during the year. For that we’ll use a **Radio Field**.

![](/files/1F8FmCpnPfbnbTt3qPb6)

If the student stays inside campus, then the total Cost will be counted, otherwise the cost will be zero for living expenses.

Afterwards, there’s a meal option included in the Tuition Fees for which we’re using a **Drop Down Menu**

![](/files/OFB2m5nMpNbMR59VMWCT)

Then, we’re going to add a **Toggle Field** to ask the student if they have a scholarship or not.

![](/files/8KX898F2g0dciJQzBNoB)

If they answer yes, then we’ll ask them the scholarship amount. We’re going to use a **Drop Down Menu** for this purpose,

![](/files/9vrz5guYCXFiHdLyFzn4)

Here, we’ve added two options with negative value. This is because the scholarship amount will be deducted from the total Tuition Fee amount.

We'll utilize this method to calculate the entire summary,

![](/files/CGHFMZTa4qU1aEo9XE7z)

**Frontend Preview:**

![](/files/KPvHygtMmgHCoVQPCmTg)

**Exported Calculator:**

{% file src="/files/q0N1fJ9LHIszXtJmdUAs" %}


---

# 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/cost-calculator-builder/pre-built-calculators-and-cases/tuition-fees.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.
