What follows will be more than some folks want to know or can tolerate.
Far more important than the length of arrow plus clearance is you physically coming to full-draw. In my experience, many compound shooters are overdrawn and many recurve/longbow shooters are underdrawn.
No matter the bow:
1. The bow arm should be straight but unlocked at full draw.
2. Hook the string with your fingers (deep hook into the first joint of the fingers rather than finger tips. The back of your drawing hand should be flat and relaxed. If the string is on your finger tips, like some of us were taught decades ago, the back of the hand will be bowed and tense.
3. Draw the bow until you come to a comfortable anchor. For most folks this is the tip of the finger (index if 3 under, middle if shooting split finger) in the corner of the mouth with the last knuckle of the draw thumb just behind the jawline. A thumb behind the neck adds tension to the bowhand, wrist and arm. This prevents a properly relaxed drawing arm.
4. Most important: Using your back muscle (drawing side) the elbow should be drawn back to the point where the point of the elbow is 1/2-1" in front of an imaginary line drawn from the bowhand, through the anchor and past the point of the elbow. If the elbow is in line or behind (towards your back) you are overdrawn. If the elbow is too far in front of this line you are overdrawn. Both conditions prevent back motion from executing the shot. Shot anticipation and Target Panic follows.
Once you've brought your form into correct draw, now you're ready to measure your draw length.
When at full draw make a mark on the arrow that is 1.75" forward (towards the arrow point) from the pivot point of the bow's grip. Often this is the very back edge of the bow shelf, but not always. On my Robertson Fatal Styk, with a narrow riser, this 1.75" spot is behond the back of the bow.
Once you've marked the arrow measure from the bottom of the nock groove to this point. That's your draw length. The correct arrow length will include some extra length out front for broadhead clearance. Tuning may also require more or less arrow shaft beyond the back of the bow.