Disclosed herein are a method and apparatus for determining the location of an orthodontic fastener. In the method, a first location on a tooth and a second location on alveolar bone are set on a patients medical image. Thereafter, a first rectilinear line including two points, that is, the set first and second locations, is generated. Thereafter, bone density values at the locations of the alveolar bone on the generated first rectilinear line are computed using the medical image. Finally, the location of the alveolar bone at which a first fastener is inserted is determined based on the computed bone density values.