By resolving a paradox about light in a box, researchers hope to clarify the concept of energy in quantum theory.