Osteoporosis is a disease of bones. It leads to an increased risk of fracture. The improvement in biosensor for measuring the strain on bones is required. A photometric biosensor is modeled. It is simulated. The performance of the biosensor is analyzed using Artificial Neural Network (ANN) in terms of layers of neural network. Number of epochs/iterations are carried out. The performance is analyzed in terms of mean square error (mse). The percentage accuracy of sensor is obtained as 93%.