PROBLEM TO BE SOLVED: To provide an apparatus and program for supporting osteoporosis diagnosis that can highly accurately measure a thickness of a bone such as a cortical bone.SOLUTION: The apparatus 1 for supporting osteoporosis diagnosis includes a control part 12 for performing: processing for identifying two boundary lines between the cortical bone that is imaged like a strip on an x-ray image and other parts processing for obtaining an approximation line that is a straight line or a curve line approximate to the boundary lines based on multiple points provided on the boundary lines processing for setting multiple measuring points on the approximation lines, measuring a distance between the two boundary lines on a measuring auxiliary line each of which is extended in a normal line of the approximation line from the set measuring points and acquiring multiple measuring values processing for calculating the thickness of the cortical bone based on the measured values and processing for determining osteoporosis based on the calculated thickness of the cortical bone.