> For the complete documentation index, see [llms.txt](https://docs.openetf.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.openetf.xyz/reference/formulas.md).

# Formulas

**Every ETF runs on one NAV, one fee engine and one share pool, and every result can be recomputed from a** [**receipt**](https://docs.openetf.xyz/transparency/receipts.md)**. Amounts are in USDC unless marked as shares, rates or ratios.**

## Each symbol has one meaning

* $$B$$: share-pool assets, excluding payment backing, allocated distributions, cost reserves, rounding residuals, unassigned balances and isolated domains.
* $$M$$: management fee accrued but not yet issued as shares.
* $$S$$: all outstanding shares, including fee shares and shares in redemption escrow.
* $$W$$: cost basis in USDC; can be negative.
* $$r$$, $$m$$: performance-fee rate; annual management-fee rate.
* $$p$$: the Manager's commitment ratio.
* $$k$$: exit adjustment fee rate at pricing.
* $$X\_{\text{iso}}$$: equity reading of a margin domain in the block it is isolated as a dead market.
* $$P$$: fixed redemption payments, held outside $$B$$ with their own backing.

## NAV is pool assets after accrued fees, per share

$$A = B - M$$

$$D = A - W$$

$$L = \min\big(\max(A, 0),\ r \times \max(D, 0)\big)$$

$$c = \frac{\max(A - L, 0)}{S}, \qquad H = \frac{W}{S} \qquad (S > 0)$$

$$A$$ is pricing assets, $$D$$ profit since the last settlement ($$D \ge 0$$ is above water), $$L$$ the accrued performance fee, $$c$$ NAV per share and $$H$$ the cost basis per share, used only below water.

$$\text{AUM} = c \times S$$. External investor equity is $$c$$ times the shares outside the Manager and platform-share addresses. Neither includes fixed payments, distributions, residuals or isolated domains.

## Subscriptions and redemptions leave NAV unchanged, except for the exit adjustment fee

Above or below water is judged on $$D$$ before the event and is not re-judged within it. A prime marks the value after the event.

**Subscribing** $$v$$ **USDC** issues $$x = v / c$$ shares:

$$A' = A + v, \qquad S' = S + x$$

Above water $$W' = W + v$$; below water $$W' = W + x \times H$$.

**Pricing** $$x$$ **redeeming shares** burns them and fixes a payment:

$$S' = S - x, \qquad B' = B - x \times c \times (1 - k), \qquad P' = P + x \times c \times (1 - k)$$

Above water $$W' = W - x \times c$$; below water $$W' = W - x \times H$$. The fee $$k \times x \times c$$ stays in $$B$$.

In a pricing event for waiting requests, each executable request $$i$$ has $$x\_i$$ shares remaining and its own rate $$k\_i$$: the fee formula in force when it was accepted, applied to the event's leverage reading. Each fixes $$q \times x\_i$$ shares at the event's single $$c$$, with

$$q = \min\left(1,\ \frac{\text{cash available to the queue}}{\sum\_i x\_i \times c \times (1 - k\_i)}\right)$$

If this $$q$$ is 1 and the event would burn every outstanding share, every $$k\_i$$ is 0 and $$q$$ is recomputed with $$k\_i = 0$$; nothing is re-adjusted afterwards.

Burning, fixing $$P$$ and adjusting $$W$$ happen in one block. Paying $$P$$ later reduces only $$P$$ and its backing; a share transfer changes none of $$A$$, $$S$$ or $$W$$.

## The exit adjustment fee follows leverage

Notional leverage is the sum of position notional across margin domains divided by $$c \times S$$, read in the pricing transaction. A domain whose notional is not yet read into pricing is estimated as its equity times its public maximum leverage; the estimate can be higher or lower than the actual notional. Isolated domains are excluded. The current testnet rate is

$$k = \min(0.1% + 0.05% \times \text{leverage},\ 1%)$$

and mainnet values are calibrated to the measured costs of raising cash for redemptions. $$k = 0$$ for a pricing that burns every outstanding share, and for Wind-down distributions.

The fee raises $$D$$ by $$k \times x \times c$$. Below water before and after pricing, or when $$r = 0$$, $$c$$ rises by

$$\frac{k \times x \times c}{S - x}$$

Above water, $$c$$ rises by $$(1 - r)$$ times that amount, and the rest raises $$L$$.

## Fees settle as newly issued shares

Over each observed interval of $$\Delta t$$ seconds, summed along the observed path:

$$M' = M + \max(A, 0) \times m \times \frac{\Delta t}{365 \times 86{,}400}$$

At each valid accounting point, $$M / c$$ fee shares are issued and $$M$$ returns to zero. $$W$$ rises by $$M$$ if $$D \ge 0$$, or by $$(M / c) \times H$$ if $$D < 0$$. $$B$$ does not change.

At the anniversary:

$$X = \max(D, 0), \qquad F = r \times X, \qquad W' = W + X$$

$$F / c$$ fee shares are issued and $$c$$ does not change. The platform share of those fee shares goes to the platform, rounded down, and the rest to the fee recipient.

At a pricing that would burn every outstanding share, fees settle first: $$M$$ is issued, $$D$$ recomputed, $$F / c$$ shares issued with $$X = \max(D, 0)$$ and $$X$$ added to $$W$$. The exiting shares then burn at the unchanged $$c$$, and the fee shares remain outstanding.

## Dead-market isolation moves value out without changing shares

In the determination block:

$$B' = B - \max(X\_{\text{iso}}, 0), \qquad W' = W - \max(X\_{\text{iso}}, 0)$$

$$S$$ and $$D$$ do not change. From then on $$A$$, $$L$$ and $$c$$ use only the remaining domains ([Supported Markets](https://docs.openetf.xyz/how-it-works/risk-controls/supported-markets.md#a-dead-market-is-isolated-not-priced)).

## Manager reductions stop at the commitment ratio

Let $$s$$ be the Manager-address shares immediately before the action, including shares in redemption escrow, and $$w$$ the shares in the Manager's wallet, excluding escrow. The largest transfer out is

$$\max(0,\ w - p \times S)$$

and, for $$p < 1$$, the largest redemption is

$$\max\left(0,\ \frac{s - p \times S}{1 - p}\right)$$

At $$p = 1$$ the Manager can redeem only while holding every share, and can transfer none. For a last-share exit, the check uses $$s$$ and $$S$$ before that event's fee shares are issued.

## Wind-down splits realized cash by the final snapshot

An interim distribution $$d$$ reduces $$B$$, cash and $$W$$ by $$d$$; $$S$$ does not change.

At the end, $$A\_{\text{final}}$$ is realized pool cash after reserves, and

$$X = \max(A\_{\text{final}} - W, 0), \qquad F\_{\text{paid}} = \min(A\_{\text{final}},\ r \times X)$$

Holders receive $$A\_{\text{final}} - F\_{\text{paid}}$$, split by the final share snapshot.

For later recoveries, the fund keeps $$W\_{\text{final}}$$, cumulative net proceeds $$N$$ (starting at $$A\_{\text{final}}$$) and fees paid so far $$F\_{\text{paid}}$$:

$$F\_{\text{cum}} = r \times \max(N - W\_{\text{final}}, 0)$$

$$\text{fee payment now} \le \min\big(\text{cash recovered},\ \max(F\_{\text{cum}} - F\_{\text{paid}}, 0)\big)$$

For example, with $$A\_{\text{final}} = 2$$, $$W\_{\text{final}} = -13$$ and $$r = 20%$$, the fee due is 3; the fund pays 2 and 1 stays unpaid. A later recovery of 10 lifts $$F\_{\text{cum}}$$ to 5, so 3 goes to the fee and 7 to holders. A recovery of only 0.50 would go entirely to the fee.

## The warning line is the only system trigger for Wind-down

After every accounting event, $$L > A - L$$ starts an automatic Wind-down.

Assume no price moves or costs, positive $$L$$ and no exit adjustment fee. Redeeming a fraction $$f$$ of shares then crosses the line when

$$f > \frac{A - 2L}{A - L}$$

This describes a scenario, not an exit quote. Because redemptions do not shrink $$L$$, remaining holders' sensitivity to asset moves can reach $$2 \times (1 - r)$$ just before the line.

## Performance chains segment growth factors

Fund performance is the product of segment growth factors, minus 1. An ordinary segment grows by

$$\frac{c\_{\text{end}}}{c\_{\text{start}}}$$

An interim distribution segment uses

$$\frac{c\_{\text{after}} + \text{cash per share}}{c\_{\text{start}}}$$

and an isolation segment

$$\frac{c\_{\text{after}} + \max(X\_{\text{iso}}, 0) / S}{c\_{\text{start}}}$$

An unsolicited asset or a first pricing closes a segment at NAV just before the event ([Fund performance and personal profit](https://docs.openetf.xyz/economics/performance.md)).

An Active pool whose last share has left, with nothing left in the share pool and no accrued management fee, reissues at 1 USDC per share with a cost basis of zero.

## Rounding runs against the Manager

Share and USDC amounts round down to their smallest units. A subscriber's or redeemer's residual stays with that holder as a balance claimable once it reaches a payable unit; where rounding could favor either the Manager or holders, as with fee shares and the Manager's reduction ceilings, it goes against the Manager. No residual goes to a new subscriber.
