[guided]The computation of $A(\mathcal{O}_L)$ depends on which integral basis of $\mathcal{O}_L$ we work with, and by [Integers of Quadratic Fields](/theorems/1575), this depends on $d \bmod 4$.
**Case 1: $d \equiv 2$ or $3 \pmod 4$.** The integral basis is $\{1, \sqrt{d}\}$. After the embedding $\iota$ of Step 1, these become
\begin{align*}
\iota(1) = 1 = (1, 0), \qquad \iota(\sqrt{d}) = i\sqrt{|d|} = (0, \sqrt{|d|}).
\end{align*}
The fundamental parallelogram is the parallelogram with vertices $0, (1, 0), (0, \sqrt{|d|}), (1, \sqrt{|d|})$ — in fact a rectangle. Its area is $1 \cdot \sqrt{|d|} = \sqrt{|d|}$.
Equivalently, writing the basis vectors as columns of a $2 \times 2$ matrix and taking the absolute value of the determinant:
\begin{align*}
A(\mathcal{O}_L) = \left|\det\begin{pmatrix} 1 & 0 \\ 0 & \sqrt{|d|} \end{pmatrix}\right| = \sqrt{|d|}.
\end{align*}
**Field discriminant in Case 1.** Using the basis $\alpha_1 = 1, \alpha_2 = \sqrt{d}$ and [Norm and Trace via Embeddings](/theorems/1577) for the conjugate matrix:
\begin{align*}
\Delta(1, \sqrt{d}) = \det\begin{pmatrix} \iota(1) & \iota(\sqrt{d}) \\ \bar\iota(1) & \bar\iota(\sqrt{d}) \end{pmatrix}^2 = \det\begin{pmatrix} 1 & \sqrt{d} \\ 1 & -\sqrt{d} \end{pmatrix}^2 = (-2\sqrt{d})^2 = 4d.
\end{align*}
Since $\{1, \sqrt{d}\}$ is an integral basis, $D_L = \Delta(1, \sqrt{d}) = 4d$, so $|D_L| = 4|d|$ (we use absolute value because $d < 0$ makes $D_L$ negative). Hence
\begin{align*}
\tfrac{1}{2}\sqrt{|D_L|} = \tfrac{1}{2} \cdot 2\sqrt{|d|} = \sqrt{|d|} = A(\mathcal{O}_L). \checkmark
\end{align*}
**Case 2: $d \equiv 1 \pmod 4$.** The integral basis is $\{1, \tfrac{1}{2}(1 + \sqrt{d})\}$, and these embed as
\begin{align*}
\iota(1) = (1, 0), \qquad \iota\!\left(\tfrac{1}{2}(1 + \sqrt{d})\right) = \tfrac{1}{2}(1 + i\sqrt{|d|}) = \left(\tfrac{1}{2}, \tfrac{1}{2}\sqrt{|d|}\right).
\end{align*}
The fundamental parallelogram has vertices $0, (1, 0), (\tfrac{1}{2}, \tfrac{1}{2}\sqrt{|d|}), (\tfrac{3}{2}, \tfrac{1}{2}\sqrt{|d|})$, and its area is
\begin{align*}
A(\mathcal{O}_L) = \left|\det\begin{pmatrix} 1 & \tfrac{1}{2} \\ 0 & \tfrac{1}{2}\sqrt{|d|} \end{pmatrix}\right| = \tfrac{1}{2}\sqrt{|d|}.
\end{align*}
**Field discriminant in Case 2.** With $\alpha_1 = 1$, $\alpha_2 = \tfrac{1}{2}(1 + \sqrt{d})$:
\begin{align*}
\Delta\!\left(1, \tfrac{1}{2}(1 + \sqrt{d})\right) = \det\begin{pmatrix} 1 & \tfrac{1}{2}(1 + \sqrt{d}) \\ 1 & \tfrac{1}{2}(1 - \sqrt{d}) \end{pmatrix}^2 = (-\sqrt{d})^2 = d.
\end{align*}
Hence $D_L = d$, $|D_L| = |d|$, and
\begin{align*}
\tfrac{1}{2}\sqrt{|D_L|} = \tfrac{1}{2}\sqrt{|d|} = A(\mathcal{O}_L). \checkmark
\end{align*}
**Unified conclusion.** In both cases,
\begin{align*}
A(\mathcal{O}_L) = \tfrac{1}{2}\sqrt{|D_L|}.
\end{align*}
The factor $\tfrac{1}{2}$ is not a coincidence: it is the factor $2^{-s}$ in the general formula [Covolume of Ideal Lattices](/theorems/1609), specialized to $s = 1$ (one complex-conjugate pair in the imaginary quadratic case).[/guided]