Due dates

Charleigh
Hi everyone i was just wondering how do the doctors work out your due date?