Start here
Subtract a measured empty-spool tare from the current gross weight. Keep spool and filament records paired because different spool types have different weights.
Leave a practical reserve
Include supports and purge in the job estimate. The remaining-spool calculator ignores uncertainty unless you add it to your own required quantity.