Due date

Is it suppose to be based off you lmp or size of baby?