Filament, by the gram.

Slicers talk in metres, spools are sold by weight, and prices are per kilo. This turns any one of those into the others, and tells you what a part costs to print at home.

The filament
Length ⇄ weight

Type either one. Your slicer shows the length after slicing.

m
g
What your spool cost
$
g
What’s left on a spool?

Weigh the spool on a kitchen scale.

g