Also, when plugging in the numbers, keep in mind the distance to subject is from a spot near the back of the DSLR where the sensor lives, not from the end of the lens, or the lens mount. This spot will be marked with a circle with a line through it (like
this) At macro distances, these distinctions are important.