We describe the formalization in Mathlib of explicit volume formulas for ℓ p -balls, both over R n and C n , for any real p ≥ 1. Rather than treating each case separately, all formulas can be derived from a single identity expressing the volume of a unit ball in terms of a Gaussian-type integral and the Gamma function. This abstract approach, which works for any finite-dimensional normed space equipped with a Haar measure, also handles spaces that mix real and complex coordinates, a case that arises in algebraic number theory and was indeed the original motivation for this work.