A derivative is a limit of difference quotients. A computer cannot take the limit, so it stops at a small $h$, and the Truncation Error and Order of Accuracy that leaves depends on which difference quotient we use. Taylor series tell us exactly how big it is.
The forward (and backward) difference has error $\frac{h}{2}f''(x) + O(h^{2})$: order $h$. The central difference has error $\frac{h^{2}}{6}f'''(x) + O(h^{4})$: order $h^{2}$. The second-difference formula has error $\frac{h^{2}}{12}f^{(4)}(x) + O(h^{4})$. For the same $h$ and about the same work, the central difference is usually far more accurate.
💡 Why it works
Write the Taylor expansions $$f(x \pm h) = f(x) \pm hf'(x) + \frac{h^{2}}{2}f''(x) \pm \frac{h^{3}}{6}f'''(x) + \frac{h^{4}}{24}f^{(4)}(x) \pm \cdots$$ The forward quotient keeps the $\frac{h}{2}f''$ term. Subtracting the two expansions cancels every even power, so the central quotient's error starts at $\frac{h^{2}}{6}f'''$. Adding them cancels every odd power, which gives the second-difference formula with error $\frac{h^{2}}{12}f^{(4)}$. The symmetry of the central formulas is what buys the extra order.
Errors of three difference formulas for f(x) = sin x at x = 1, for moderate h. The slope of each line is the order.
✏️ Worked example: Forward and central side by side
For $f(x) = x^{3}$ at $x = 1$ (where $f'(1) = 3$), compute both differences with $h = 0.1$.
Forward: $\frac{1.331 - 1}{0.1} = 3.31$, error $0.31$. The formula predicts $\frac{h}{2}f''(1) + \frac{h^{2}}{6}f'''(1) = 0.3 + 0.01$.
Dividing the central difference by $h$ instead of $2h$. The two sample points $x - h$ and $x + h$ are $2h$ apart, so the slope between them divides by $2h$. Dividing by $h$ doubles the answer, a mistake no small $h$ will fix. Quick check: a forward difference with the same $h$ should come out close to your central value, not near half of it.
Tobin A. Driscoll and Richard J. Braun, Fundamentals of Numerical Computation (University of Delaware, free online edition): chapter "Piecewise interpolation", sections "Finite differences" and "Convergence of finite differences"
Autar Kaw, Holistic Numerical Methods (University of South Florida): Differentiation, "Numerical Differentiation of Continuous Functions"