Let $a$ be an algebraic number, whose minimal polynomial has integral coefficients. Let $K = \Bbb Q(a)$ be an algebraic number field. Let $\mathcal O_K$ be the ring of integers in this algebraic number field. Fix an basis for $\mathcal O_K$ and $\Bbb Z[a]$. Let $A$ be the matrix whose column vectors express the basis elements of $\Bbb Z[a]$ as a $Z$-linear combination of the basis for $\mathcal O_K$. Then
$\det(A) = [\mathcal O_K : \Bbb Z[a]]$
I have no idea why this is the case. Can someone explain this to me?
This is a heuristic argument, but it can be made rigorous without a lot of fuss.
We can think of both $\mathbb{Z}[a]$ and $\mathcal{O}_K$ as lattices in $\mathbb{Q}^n$. The index $c=[\mathcal{O}_K : \mathbb{Z}[a]]$ measures the relative density of the lattices, that is, if we pick an element of $\mathcal{O}_K$ at random, it has a $1/c$ chance of belonging to $\mathbb{Z}[a]$.
On the other hand, $d=|\det (A)|$ (note the absolute values) measures the volume scaling of a change of basis. That is, if we have a figure of volume $V$, and apply the change of basis matrix $A$, the new figure will have volume $d\cdot V$.
But if $A$ scales volume by a factor of $d$, it must also stretch a given lattice to one of relative density $1/d$. In other words, $1/c=1/d$, so $c=d$.