# calculatedWellDepth

> Calculated well depth: the deepest recorded point across a well's constructive arrays only (not geologic — lithology/fractures/caves may extend past the actual constructed well and would overstate it). Same "last item's to" logic as @welldot/utils's getProfileLastItemsDepths, duplicated here because

> **calculatedWellDepth**(`well`): `number`

Calculated well depth: the deepest recorded point across a well's
constructive arrays only (not
geologic — lithology/fractures/caves may extend past the actual
constructed well and would overstate it). Same "last item's `to`" logic
as `@welldot/utils`'s `getProfileLastItemsDepths`, duplicated here because
`packages/core` may not depend on `@welldot/utils` (dependency chain runs
the other way).

## Parameters

### well

[`Well`](/core/api/type-aliases/Well)

## Returns

`number`
