Writing volume formula