Heat capacity of a substance is defined as the amount of heat necessary required to raise thee temperature by 1 degree Celsius. (Note here it is not calculated per unit mass)
The specific heat capacity of a substance is the amount of heat per unit mass required to raise the temperature by one degree Celsius.
If s = heat capacity and sā is the specific heat capacity and m = mass of the substance then
s = msā