In DC Comics' fictional universe, the anti-life equation is a mathematical formula that, when uttered aloud, allows the speaker absolute control over all living beings. The anti-life equation operates by instilling in the hearer a mathematical certainty of the futility of life, thereby destroying the listener's will to function independently.

Discovering the anti-life equation is the ultimate goal of the villain Darkseid. In the 2005 mini-series "Seven Soldiers: Mister Miracle," Darkseid finally obtains the formula, which is revealed to be as follows: loneliness + alienation + fear + despair + self-worth ÷ mockery ÷ condemnation ÷ misunderstanding × guilt × shame × failure × judgment n=y where y=hope and n=folly, love=lies, life=death, self=dark side.