Hello, Boadi. Thank you for posting.
Exactly how the hip replacement implants are placed, and the size of the implants will determine the length of the leg after surgery. Ideally, your surgeon wants the leg lengths to end up being symmetric, but that is not always the final result. Discuss this with your doctor.