---
title: "equation"
description: "A number built from its parts, written as a sum."
---

> Documentation Index
> Fetch the complete documentation index at: https://sandrinodm.github.io/deckster/llms.txt
> Use this file to discover all available pages before exploring further.

# equation

Use the `equation` layout to show how a number is built: two to four figures joined by ×, +, − or ÷, then an equals sign and the result. It suits a bottom-up market size, a business model or unit economics, where the room should see the parts as well as the total.

## Example

[Live slide: "The market is €3.0B a year in 46 cities", slide 87 of the lookbook deck](https://sandrinodm.github.io/deckster/decks/lookbook/#/equation-market)

`decks/lookbook/slides/equation-market.mdx`:

```mdx
---
layout: equation
title: The market is €3.0B a year in 46 cities
eyebrow: Bottom up
budget: 45s
terms:
  - value: 46
    label: cities with a dense centre
  - value: 21M
    label: drops a year in each
    op: times
  - value: "€3.10"
    label: our average price a drop
    op: times
result:
  value: "€3.0B"
  label: a year in city drops
---

A third of it, €1.0B, is within 4 km of a hub.

<Footnote>Wrenhaul market model, 2026. Serviceable: drops under 5 kg within 4 km of a hub.</Footnote>

<Notes>
`equation` shown whole, as a bottom-up market size; use it when the audience should check the arithmetic, not watch it build.
Count the cities with a dense centre like Kestwick's: 46. Each sends about 21 million drops a year. At our price that is €3.0B a year, and a third of it is within reach of a hub.
</Notes>
```

Notice how the weight falls: the three terms share one baseline, the × signs are set quieter than the figures, and the result stands largest on an accent panel that runs to the right and bottom edges. This slide shows the whole sum at once. With `reveal: true` the terms come in left to right, one per step, and the result comes last, counting up.

## When to use it

- **The total is the product or sum of a few parts.** `terms:` takes two to four items, each with a `value` of up to 8 characters and a `label` of up to 32. `result:` takes a `value` of up to 8 characters and a `label` of up to 40.
- **The audience should check the arithmetic, or watch it build.** Leave `reveal` out to show it whole; set `reveal: true` to walk through it.
- **A short title and one line of meaning.** The title takes up to 60 characters, the sentence under it up to 14 words, and the `<Footnote>` with the source up to 16.

The catalog's examples are customers × price × frequency, bookings × take rate = revenue, and lifetime value ÷ acquisition cost. When the figures stand side by side without adding up, use [`stats`](https://sandrinodm.github.io/deckster/reference/layouts/stats/); for a trend, use a chart. A longer sum belongs in a [waterfall chart](https://sandrinodm.github.io/deckster/reference/charts/#props-Waterfall). For nested market sizes, such as a whole market and the part you can win, use [`market`](https://sandrinodm.github.io/deckster/reference/layouts/market/).

## Reference

Frontmatter: `layout: equation`; surface: the deck's default; title: required, 60 characters at most; PowerPoint: title-only slide.

A number built from its parts, written as a sum: two to four figures (`terms:`) in a row, each with a label and joined to the one before by an operator (`op: times`, `plus`, `minus` or `divide`, set as ×, +, −, ÷), then an equals sign and the `result:` set largest on an accent panel that runs to the right and bottom edges of the slide. The figures share a baseline and the operators are set quieter than the figures; `reveal: true` brings the terms in left to right, one per step, and the result last, counting up. Use it for a bottom-up market size (customers × price × frequency), a business model (bookings × take rate = revenue) or unit economics (lifetime value ÷ acquisition cost); use stats when the figures stand side by side without adding up, and a chart for a trend; use market for nested market sizes.

*Slide still (a lookbook slide in this layout, not the example below): A slide in the equation layout: Our revenue is drops times €3.10.* [Open the slide](https://sandrinodm.github.io/deckster/decks/lookbook/#/equation-arr)

**Slots**

| Slot | Required | Takes | Budget | What goes in it |
| --- | --- | --- | --- | --- |
| `body` | no | text | 14 words | One sentence under the title on what the result means. Put the figures in `terms:` and `result:`, not here. |
| `<Footnote>` | no | text | 16 words | The source of the figures, on the bottom line under the terms. |

**Frontmatter fields**

| Field | Values | How to use it |
| --- | --- | --- |
| `eyebrow` | text | Write a few words of at most 40 characters, for example `eyebrow: Budget committee`, or leave it out. |
| `terms` (required) | text | List 2 to 4 terms in the order the sum reads, each with `value` (the figure as shown, such as "2,400" or "$380", up to 8 characters) and `label` (what it counts, up to 32). Every term after the first takes `op`, the operator before it: times, plus, minus, divide. |
| `result` (required) | text | Write `result:` with `value` (the figure the terms come to, up to 8 characters, such as "$1.1M") and `label` (what it is, up to 40 characters). |
| `reveal` | `true`, `false` (default) | Write `reveal: true` to bring the terms in one per step, left to right, and the result on the last step, or leave it out to show the whole equation at once. |
| `chrome` | `true` (default), `false` | Write `chrome: false` to hide the page number, logo and progress bar on this slide, or `chrome: true` to show them. |

**Example**

```mdx
---
layout: equation
title: "The first planting costs the city $900k"
eyebrow: Bottom up
terms:
  - value: 600
    label: street trees this spring
  - value: "$1,450"
    label: "stock, crew and pit for each"
    op: times
  - value: "$210k"
    label: three summers of watering
    op: plus
  - value: "$180k"
    label: from the state canopy grant
    op: minus
result:
  value: "$900k"
  label: "the city's share of the first 600 trees"
---

Less than one summer of heat emergencies costs.

<Footnote>Contractor quotes, March 2026; grant award letter, April 2026.</Footnote>

<Notes>
Read it left to right: the trees, what each one costs, the watering, less the grant.
</Notes>
```

## Common mistakes

- **A missing operator.** Every term after the first names the operator before it in `op:` (`times`, `plus`, `minus` or `divide`). Leaving it out is a [`schema` error](https://sandrinodm.github.io/deckster/reference/lint-rules/): "terms[1].op: Term 2 has no operator joining it to term 1."
- **An operator on the first term.** Nothing comes before it, so `op` there is also an error: "terms[0].op: The first term has an operator, but nothing comes before it."
- **Explaining the sum in the body.** The body is one sentence of up to 14 words on what the result means. A 20-word body is a `content-budget` error: "The body slot holds 20 words; its layout allows 14." The figures go in `terms:` and `result:`, the reading in your speaker notes.
- **A sum that does not add up.** The layout checks the operators, not the arithmetic. Work out the result yourself, and say in `<Footnote>` how it was rounded or what it covers.

## Related layouts

- [`stats`](https://sandrinodm.github.io/deckster/reference/layouts/stats/): two to four figures that stand side by side without adding up.
- [`chart`](https://sandrinodm.github.io/deckster/reference/layouts/chart/): one chart, when the point is a trend or a breakdown with more parts than four.
- [`market`](https://sandrinodm.github.io/deckster/reference/layouts/market/): two or three nested market sizes, outermost first, when the figures sit inside each other rather than multiply.

How `reveal: true` steps the terms in is part of [building a slide in steps](https://sandrinodm.github.io/deckster/write-slides/builds/).

Source: https://sandrinodm.github.io/deckster/reference/layouts/equation/index.mdx
