Both X-ray crystallography and electronic structure calculations using the cc-pVDZ basis set at the DFT B3LYP level were employed to study the explosive properties of triacetone triperoxide (TATP) and diacetone diperoxide (DADP). The thermal decomposition pathway of TATP was investigated by a series of calculations that identified transition states, intermediates, and the final products. Counterintuitively, these calculations predict that the explosion of TATP is not a thermochemically highly favored event. It rather involves entropy burst, which is the result of formation of one ozone and three acetone molecules from every molecule of TATP in the solid state.