Standing Long Jump

How is the distance for a jump calculated?What two points are needed to determine the distance?
How many attempts are allowed for an individual?
What counts as a successful attempt?