I'm figuring out the best way to estimate the size of a table, for which, I have gone through so much and unable to identify the theoretical space being used for a single row in bytes as the data is saved across pages which are at least 8KB per page and the ROW which we insert is stored across many pages.
Help me to calculate the theoretical space being used for below table
+-------------+--------------------+------+-----+---------+
| Field | Type | Null | Key | Default |
+-------------+--------------------+------+-----+---------+
| Id | int | NO | PRI | |
| Idx | [datetimeoffset](7)| NO | PRI | |
| Val1 | float | YES | | |
| Val2 | float | YES | | |
+-------------+--------------------+------+-----+---------+