How much milled off heads to raise compression

Not sure of how much cut equals cc's but the formula is for every .020 off the block side, take .019 off the intake side of the head. I would not take more than .040 off magnum heads. That leaves new pistons to get to 10.5 :1.