In commutative algebra, the deviations of a local ring R are certain invariants εi(R) that measure how far the ring is from being regular.