> For the complete documentation index, see [llms.txt](https://docs.aftermath.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aftermath.finance/trade/smart-order-router/exact-out.md). Agents can also search and read this documentation through its [MCP server](https://docs.aftermath.finance/~gitbook/mcp).

# Exact Out

Calculate the best price, in reverse

Exact Out lets you specify the amount of coins you want to receive, instead of the amount you want to sell. Without it, you specify the input amount and adjust it until you get the output amount you want.

With Exact Out, you enter the output amount.

Exact Out lets you:

* Get the exact amount you need
* Compose trades that need an exact amount of output coins, e.g., arbitrage
* Skip the calculations
* Simplify complex trades, especially as a newcomer

Try it at [af.lol](https://af.lol).
