Hi. The short answer is it depends on the door! You'd probably get away with an inch top and bottom if the door is decent quality. However to be sure drill a small hole into the door downwards from the top. If you get to two inches without breaking through you're fine to take an inch off.
If you are paranoid repeat, drilling up from the bottom!