but then we're calculating it wrong
Who said we're calculating the exact value of pi? Nobody here, that's for sure. All calculations are merely approximations.
Of course, we have calculated pi to 1/10
1012 precision, so those approximations are pretty damn accurate.