This is the bedrock of classical tidal height calculations. The easiest way is to use the graph put out by the Admiralty and found in good almanacs.
This video is free with Membership. If you are signed up, go to your account and log in to receive it foc. Please don’t click here, or you will be charged.