Determine the anticipated height of your deck, then measure downward, subtracting the thickness of the decking and the height of the joists and beam. Transfer this measurement to the posts to determine where to cut them to accept the beam.