# calculateNewPosition

**Kind:** Function

**Source:** [`atloria-monorepo/apps/web/src/components/Boards/helpers.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/web/src/components/Boards/helpers.ts#L137)

Given the current cards in a destination column (excluding the moved card)
and the index where the card will land, compute its new float position.

## Signature

```ts
function calculateNewPosition(destCards: BoardCardData[], insertIndex: number): number
```

## Parameters

| Name | Type |
|---|---|
| `destCards` | `BoardCardData[]` |
| `insertIndex` | `number` |

**Returns:** `number`
