Just to confuse things a bit, as I recently learned from the boys at Subsurface, the calculation above will only give an approximation for RMV. It's a good enough approximation for comparing dives but is not accurate.
First, 1 bar = 0.986923 atm, so that should be applied in the conversion.
Second, air does not act like an ideal gas under compression so the compression factor would need to be determine depending on the pressure of the air. The compression factor changes with nitrox, helium, etc.
As I said, ignoring compression factor and bar to atm conversion will still give a RMV which is useful for comparing one dive to another...