Definition (bias of estimator)

The bias of an estimator $\hat θ$ for $θ$ is $$ \begin{align*} \op{bias}(\hat θ) = \expect_θ(\hat θ) - θ, \end{align*} $$ which is a function of $θ$.

We say $\hat θ$ is unbiased if $\op{bias}(\hat θ) = 0$ for all $θ\in Θ$.