This script does not consider the row overhead involved over variable columns, nullable columns and bit columns. I believe ( not tested though) about calculated columns were also not considered here.
Other than these issues, this script will give the sum of all bytes needs for the row itself.
Cheers,
Prithiviraj Kulasingham
Plan to Test your Plan!