All members of the Kalman filter family share the same structure: predict the state and its covariance, then correct the prediction with the measurement using a gain computed from the innovation covariance. They differ in one question: how are mean and covariance carried through the process and measurement models? The answer decides accuracy, robustness and implementation effort.

The short answer

  • Linear model → Kalman filter (KF). It is exact and the best linear MMSE estimator. Any other choice only adds approximation error and compute.
  • Mildly nonlinear model, Jacobians easy to derive → Extended Kalman filter (EKF). Cheapest nonlinear option, but monitor consistency.
  • Noticeably nonlinear model, or Jacobians awkward → Unscented (UKF) or Cubature Kalman filter (CKF). Similar cost to the EKF, no derivatives, usually more accurate and more consistent.
  • Strongly non-Gaussian or multimodal posterior → particle filter (or a multiple model approach if the multimodality comes from discrete modes).

How each filter treats nonlinearity

KF. The models are linear, \( \mathbf{x}(k) = \mathbf{A}_d\mathbf{x}(k-1) + \mathbf{B}_d\mathbf{u}(k-1) + \mathbf{z}(k-1) \) and \( \mathbf{y}(k) = \mathbf{C}\mathbf{x}(k) + \mathbf{v}(k) \). A Gaussian stays Gaussian, so propagating mean and covariance is exact.

EKF. The nonlinear functions \( \mathbf{f} \) and \( \mathbf{h} \) are replaced by their first-order Taylor expansion at the current estimate. The covariance is propagated with the Jacobians \( \mathbf{F} \) and \( \mathbf{H} \). This is analytical linearization at a single point: it ignores the spread of the distribution, which is why the EKF tends to underestimate its uncertainty.

UKF. A small set of \( 2n+1 \) deterministically chosen sigma points (\( n \) = state dimension) is pushed through the unmodified nonlinear functions, and mean and covariance are recomputed from the transformed points (the unscented transform). This is statistical linearization over the region where the probability mass is. It captures mean and covariance at least to second order, compared to first order for the EKF, and needs no Jacobians. The scaling parameters \( \alpha \), \( \beta \), \( \kappa \) have to be chosen.

CKF. Uses \( 2n \) equally weighted points from the third-degree spherical-radial cubature rule. It is equivalent to a UKF with a specific parameter choice (\( \alpha = 1 \), \( \beta = 0 \), \( \kappa = 0 \)), but has no free parameters and only positive weights, which helps numerically in higher dimensions.

Comparison table

  KF EKF UKF CKF
Models linear nonlinear, differentiable nonlinear nonlinear
Linearization none (exact) analytical, first order (Jacobians) statistical (sigma points) statistical (cubature points)
Derivatives needed no yes no no
Points propagated 1 1 2n+1 2n
Tuning beyond Q, R none none α, β, κ none
Accuracy on nonlinear models – lowest higher higher
Consistency consistent if model correct often overconfident better better
Cost per step O(n³) O(n³) + Jacobians O(n³) + 2n+1 model evaluations O(n³) + 2n model evaluations
Reduces to KF for linear models – yes yes yes

The last row is worth stressing: for linear models, EKF, UKF and CKF all produce exactly the Kalman filter estimate. The differences only appear when the models are nonlinear.

Accuracy vs. cost in practice

The often-quoted argument that the EKF is “cheaper” is weaker than it looks. Both EKF and sigma-point filters scale with \( O(n^3) \) because of the matrix operations. The UKF/CKF additionally evaluates the models \( 2n \) or \( 2n+1 \) times, which matters only if the models are expensive. In exchange, no Jacobians have to be derived, coded, verified and maintained, which removes a frequent source of bugs.

The EKF remains a good choice when the system is nearly linear over the uncertainty region, for example when the covariance is small relative to the curvature of the model, and in error-state formulations such as the multiplicative EKF for attitude, where the estimated error is kept small by design.

How to decide with data

Do not choose a filter by reputation; test it. Run Monte Carlo simulations with a truth model and compare

  1. accuracy with the RMSE, and
  2. consistency with the NEES and, on real data, the NIS.

A filter with a slightly lower RMSE but an NEES far above its chi-square bounds is overconfident. It will reject good measurements in gating and can diverge, see failure modes.

References

[1] S. J. Julier and J. K. Uhlmann (2004). “Unscented Filtering and Nonlinear Estimation”. Proceedings of the IEEE, 92(3), 401–422. doi:10.1109/JPROC.2003.823141

[2] E. A. Wan and R. van der Merwe (2000). “The Unscented Kalman Filter for Nonlinear Estimation”. Proc. IEEE Adaptive Systems for Signal Processing, Communications, and Control Symposium. doi:10.1109/ASSPCC.2000.882463

[3] I. Arasaratnam and S. Haykin (2009). “Cubature Kalman Filters”. IEEE Transactions on Automatic Control, 54(6), 1254–1269. doi:10.1109/TAC.2009.2019800

[4] D. Simon (2006). Optimal State Estimation: Kalman, H∞, and Nonlinear Approaches*. Wiley.

[5] R. Marchthaler and S. Dingler (2026). Kalman Filter: Introduction to State Estimation and Its Application for Embedded Systems. Springer Wiesbaden.

Disclosure Statement: In order to offer kalman-filter.com free of charge, I use affiliate links, which are marked with *. If you purchase one of the featured products through these links, I receive a commission. The price you pay does not change because of this. As an Amazon Associate, I earn from qualifying purchases.

Newsletter