# Inputs, Calculations and Outputs

<figure><img src="https://downloads.intercomcdn.com/i/o/1119553466/197e5861a08f1f3b0ea4743f/image.png?expires=1730711700&#x26;signature=111b4c7e3e21aa45819a1f25606a2ec6887f87079e10408422217456ae0c6793&#x26;req=dSEmH8x7noVZX%2FMW1HO4zeWVAOdpDtpjEd7%2FFaKpxWDmPo4TgH7qaUurgOpl%0A%2BzMhwsAZL5IWQ%2FoDPHA%3D%0A" alt=""><figcaption></figcaption></figure>

Understanding how to manage inputs, perform calculations, and generate outputs is critical for building effective financial models in Lucid Dreams.

This guide will walk you through the steps and provide a tutorial on creating new calculations.

## Steps to Creating a Model <a href="#h_e704aae5cb" id="h_e704aae5cb"></a>

### Step 1 - Setup <a href="#h_09f750fa67" id="h_09f750fa67"></a>

* Go to the Models Section
* Navigate to the Models tab on your Lucid Dreams dashboard.
* Click on "Add New Model" to start a new financial model.

<figure><img src="https://downloads.intercomcdn.com/i/o/1119554092/0e908f0aecc3fed669ca6de1/image.png?expires=1730711700&#x26;signature=f05d299dbe9a7b7712c3fec48ab23c88d1954c85792bf3f9c171340e3c2ff094&#x26;req=dSEmH8x7mYFWW%2FMW1HO4zXy4MRBWHHj%2FOqbgBMFPoqUoCmFzBTDF%2B9Df2Nws%0AgHyFLUaZaI8XjF5HYNc%3D%0A" alt=""><figcaption></figcaption></figure>

### Step 2 - Defining Your Inputs <a href="#h_762a3d303e" id="h_762a3d303e"></a>

* Inputs are the foundational data points for your model, such as projections, growth rates, costs, and other financial metrics.
* Examples of inputs include revenue projections, cost assumptions, and operational expenses.

<figure><img src="https://downloads.intercomcdn.com/i/o/1119554730/7e2c948f7cd3c600c84d372a/image.png?expires=1730711700&#x26;signature=2fae4c75b9323d5e5baef01e525736357f86aaa40673f18d397462aee3c731ad&#x26;req=dSEmH8x7mYZcWfMW1HO4zUXUtDLXQB6zz2H8J2mexbGQTzyit%2BqUXZFH2WJk%0A0vllM5RVhyCp%2Fxcy4nM%3D%0A" alt=""><figcaption></figcaption></figure>

### Step - Performing Calculations <a href="#h_40f3f86fb4" id="h_40f3f86fb4"></a>

* Lucid Dreams will use the defined inputs to perform calculations and generate outputs.
* Calculations link inputs to create meaningful financial metrics, such as total revenue, operating profit, and net margin.

<figure><img src="https://downloads.intercomcdn.com/i/o/1119556399/7614e73bd1afe99129082aac/image.png?expires=1730711700&#x26;signature=93fd4134af5c829e67a7edacc14f6e85f677e661217f471df8106ea7753647b6&#x26;req=dSEmH8x7m4JWUPMW1HO4zUYOw%2FwVv4SDw6rbNeQb9oGvjv6B6o8cSJUVEjqy%0AMoiFS9znooCnYJSMWJo%3D%0A" alt=""><figcaption></figcaption></figure>

### Step 4 - Connect Outputs to Financial Reports <a href="#h_b929735fb0" id="h_b929735fb0"></a>

* The outputs generated from your calculations can be connected to your financial reports.
* This integration helps you see the impact of different scenarios and assumptions on your overall financials.
* Inputs lead to calculated outputs, which then integrate into your broader financial analysis.

<figure><img src="https://downloads.intercomcdn.com/i/o/1119556894/e90ad550997dfc043ffc2645/image.png?expires=1730711700&#x26;signature=2f1552cbe92b036ae1deb88f2c16f4d072ab990491cf8a1fffbfbcbc2c142e63&#x26;req=dSEmH8x7m4lWXfMW1HO4zZsEql6Ak5dEa2i9sbKm5W%2FzNTylJv3EdTG1BzAI%0A%2BRDyrAL5TngL4xE8yEs%3D%0A" alt=""><figcaption></figcaption></figure>

### Tutorial on Creating Calculations <a href="#h_231ccf1701" id="h_231ccf1701"></a>

Creating calculations in Lucid Dreams is straightforward. Here's how you can do it.

#### Add a New Calculation <a href="#h_dde5cdd8df" id="h_dde5cdd8df"></a>

* In your model, navigate to the Calculations section and click "Add a calculation."

  <figure><img src="https://downloads.intercomcdn.com/i/o/1119557231/d7bc0f34b3162bb20764dbcc/image.png?expires=1730711700&#x26;signature=50e24c29d2e8ce0688c97a017924dc3c1a13265cc85fc6a8536b9c4d997ee093&#x26;req=dSEmH8x7moNcWPMW1HO4zbbJRh2ZN2Zs4TZ1DL5CK1GOXdNPjZXqvIbLGd5v%0APxi9%0A" alt=""><figcaption></figcaption></figure>
* Enter the formula you need. For example, if you want to calculate gross profit, you might use a formula like \`Revenue - Cost of Goods Sold\`.

  <figure><img src="https://downloads.intercomcdn.com/i/o/1119558614/574c502bf509a614a67c7239/image.png?expires=1730711700&#x26;signature=e71f0ab16b3de82e036c24a7fb68d3f06e5d42da73951d86868dfd81f54b3baa&#x26;req=dSEmH8x7lYdeXfMW1HO4zeMAm69eN0lAmpt5Zm5nhCN%2F%2FjwJmoq2bo7EqrEs%0AidAu%0A" alt=""><figcaption></figcaption></figure>

## Value Types <a href="#h_ed2b02048b" id="h_ed2b02048b"></a>

Lucid Dreams supports different value types for calculations:

* Date: Useful for time-based calculations.
* Number: For general numerical values.
* Currency: Specifically for financial values.
* Boolean: True/False values.
* Percentage (%): For rates and ratios.

<figure><img src="https://downloads.intercomcdn.com/i/o/1119559318/acbb7a467da5858fc971464e/image.png?expires=1730711700&#x26;signature=e4a22fde628cb2d45f90847d5de6fe1b6e2c6c60553c3215b153537c76ca8673&#x26;req=dSEmH8x7lIJeUfMW1HO4zer7iW6ciwgetOrGcBAwKGodwDwdtl2MizqtrZnr%0AN6eFs2aSaJ1wfp1rh5s%3D%0A" alt=""><figcaption></figcaption></figure>

### Example Calculation <a href="#h_ea6c9e2dc7" id="h_ea6c9e2dc7"></a>

* Suppose you want to calculate Gross Profit. You might define it as:
* Gross Profit = Revenue - Cost of Goods Sold
* Enter this formula in the calculation section.

<figure><img src="https://downloads.intercomcdn.com/i/o/1119573863/ac364d8aa9205db22cb6435b/image.png?expires=1730711700&#x26;signature=f84e2456c80196ec43ef057dc4b6f110c227078e9a0c539d7d44d1659cfb81ef&#x26;req=dSEmH8x5nolZWvMW1HO4zbXrpMbLXSoj6BYEqWVyZ7ITe1edPg2BWb3d1OmK%0AHObbrFlhbYL%2B9M9h4W0%3D%0A" alt=""><figcaption></figcaption></figure>

### Adjusting Date <a href="#h_1d9e517d88" id="h_1d9e517d88"></a>

* If you change the date rate, but keep the formula the same, the calculated value will remain constant, provided the underlying inputs don’t change.

<figure><img src="https://downloads.intercomcdn.com/i/o/1119574599/f53b38b408024308289c234a/image.png?expires=1730711700&#x26;signature=dc4bf5107d80ef8a759ff567e4bb2b3c8ade40ae1d61659468722327fe8d4938&#x26;req=dSEmH8x5mYRWUPMW1HO4zUexMFP0ULPrZpuba6J435vIC1ayl5vTOos4oIwa%0AN62dPumbdnwCzpYQXEc%3D%0A" alt=""><figcaption></figcaption></figure>

### Renaming and Managing Calculations <a href="#h_cbaaccf599" id="h_cbaaccf599"></a>

* You can rename your calculations for clarity.
* Manage your calculations by editing or deleting them as needed.

<figure><img src="https://downloads.intercomcdn.com/i/o/1119575837/d39515e16dc2410ddeaa5fe8/image.png?expires=1730711700&#x26;signature=ca6a09195d58d9513cd347534c73ba0cef7b2521132db2295d15276b83126139&#x26;req=dSEmH8x5mIlcXvMW1HO4zclD7RgBiLNZp%2BlwdbmI7BulxmBdFh7wok2TK4cQ%0A22XE4XRvG2iheSDeVh4%3D%0A" alt=""><figcaption></figcaption></figure>

## Practical Example <a href="#h_d257c63b20" id="h_d257c63b20"></a>

Let’s say you want to create a model to forecast your company’s Q4 performance. Here’s a step-by-step example:

### 1. Go to Models Section <a href="#h_fc9a43cd8f" id="h_fc9a43cd8f"></a>

* Click "Add New Model" and name it "Q4 Forecast."

<figure><img src="https://downloads.intercomcdn.com/i/o/1119853825/f31ccfcf6b862cd6710e5e27/image.png?expires=1730711700&#x26;signature=dafdc8d286197fa5642235716c2149941a02db7587a1a71222593e0727d5b355&#x26;req=dSEmH8F7noldXPMW1HO4zR%2BTmykMFgNQTI1TsknhWwqFkIa8ObGxUQ%2B0vK8F%0AJUuNme9DphS2gQfoNZo%3D%0A" alt=""><figcaption></figcaption></figure>

#### 2. Define Inputs <a href="#h_3c1f1827e3" id="h_3c1f1827e3"></a>

* Revenue Projection: $500,000
* Cost of Goods Sold: $200,000
* Operating Expenses: $150,000

<figure><img src="https://downloads.intercomcdn.com/i/o/1119857305/2e7ca2f9551326e21b7a3477/image.png?expires=1730711700&#x26;signature=0e2ac7819d6cf635c6d55c87d65d17504551eb0eadaf20097b180edc543ca6a9&#x26;req=dSEmH8F7moJfXPMW1HO4zaNOul9AoddoVujOhW323RGPjoKl3IF8z372qY6%2B%0A8L%2FEXpmeytJipwymsGM%3D%0A" alt=""><figcaption></figcaption></figure>

### 3. Create Calculations <a href="#h_48c6ef96ef" id="h_48c6ef96ef"></a>

* Add a calculation for Gross Profit: \`Gross Profit = Revenue - Cost of Goods Sold
* Another for Net Income: \`Net Income = Gross Profit - Operating Expenses\`

<figure><img src="https://downloads.intercomcdn.com/i/o/1119857908/7bd9dde36a183adb7b1f85c0/image.png?expires=1730711700&#x26;signature=caa2434f9e7c3172c25cd62bc5852071bad81b1e22428fd672d99549ae89695d&#x26;req=dSEmH8F7mohfUfMW1HO4zW1NMmDzSgcopUOCKCX%2FMkLUSMK%2Fgst94yvsQh18%0Atl1vu%2BBNSsFZAxwMNdA%3D%0A" alt=""><figcaption></figcaption></figure>

### 4. Connect Outputs <a href="#h_aae5165b99" id="h_aae5165b99"></a>

* Link your Revenue as Income output, Cost of Goods Sold as Cost of Goods Sold, and Operating Expenses as Expense to your financial report to see the overall impact on your company's financial health.

<figure><img src="https://downloads.intercomcdn.com/i/o/1119861486/dded11142c56c765615bd689/image.png?expires=1730711700&#x26;signature=d7f914d86f05f34623e54e2cfb6d00da3e2bce9d66dbbeb25abfd442d3184dd3&#x26;req=dSEmH8F4nIVXX%2FMW1HO4zU9%2BfBloV8R6X1flHOB%2FuMw2w5%2BGji9eAzv95cDB%0AtGz9Cz5TsGbU4iklTUw%3D%0A" alt=""><figcaption></figcaption></figure>

By following these steps, you can effectively use Lucid Dreams to manage inputs, perform calculations, and generate insightful outputs that enhance your financial planning and decision-making processes.

<br>


---

# 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://lucid-financials.gitbook.io/docs/models/inputs-calculations-and-outputs.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.
