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

# How-to: Estimate swap rate

> Get a pre-swap estimate of the amount to receive before swapping

You can get a pre-swap estimate of the amount you'll receive before swapping.

## Prerequisites

Before you begin, ensure that you've:

* [Installed the App Kit SDK](/app-kit/tutorials/installation)
* [Configured an adapter](/app-kit/tutorials/adapter-setups)

These are required so any example below runs with a valid `kit` and `adapter`.

## Estimate swap amount

This example estimates how much EURC you'll receive when swapping 1.00 USDC for
EURC:

```typescript TypeScript theme={null}
const params = {
  from: { adapter, chain: "Arc_Testnet" },
  tokenIn: "USDC",
  amountIn: "1.00",
  tokenOut: "EURC",
  config: {
    kitKey: process.env.KIT_KEY as string,
  },
};

// Estimate swap amount
const estimate = await kit.estimateSwap(params);
console.log(`Estimated output: ${estimate.estimatedOutput}`);

// Proceed to swap
const result = await kit.swap(params);
```

<Caution>
  An estimate does not guarantee the actual amount you'll receive on a swap, which
  can vary due to market fluctuations. To avoid receiving less than expected, you
  can
  [set a slippage tolerance or stop limit](/app-kit/tutorials/swap/set-slippage-tolerance-or-stop-limit).
</Caution>
