A surgical forceps includes a housing having one or more shafts attached thereto and an end effector assembly disposed at a distal end thereof. The end effector assembly includes first and second jaw members disposed in opposing relation relative to one another. At least one jaw member is moveable from an open position to a closed position for grasping tissue therebetween. The jaw members include at least one sensing component that determines an output of one or both of cross-sectional diameter and composition of tissue disposed between the jaw members. A processing component is configured to receive the output and determine a seal pressure for adequately sealing tissue disposed between the jaw members based upon the output. A regulating component regulates the movement of the jaw members between the first and second positions such that the determined seal pressure is applied to tissue disposed therebetween.