A beam with both ends fixed is called as Fixed Beam. Fixed beams are statically indeterminate to the 2 nd  degree, and any structural analysis method applicable on  statically indeterminate  beams can be used to calculate the fixed end moments.    The  moment distribution method ,  slope deflection method  and the  matrix method  make use of the fixed end moments.  Fixed End Moments in standard loading     
Lecture Notes