Our research entails the investigation of the applied magnetic field to magnetostrictive strain relationship of Terfenol-D composite sensors. The purpose of this research is to explore a way to sense magnetic fields with a novel device based on a magnetostrictive composite and an optical device, fiber Bragg grating (FBG). This method has many benefits over traditional ways in terms of enhanced safety and electromagnetic immunity while maintaining minimal loss in operation. Our goal is to explore the effects of the geometrical shape of a Terfenol-D composite on the mechanical strain that is transferred to an FBG attached to the composite and develop a method for quantifying the magnetic field based on the optical spectrum of the FBG.