The general wisdom, if you're just going to replace chains sequentially in hopes of making the cassette last longer, is to replace the chain when 12 full links measure 12-1/16" long. Or when your chain checking tool of choice tells you to. This is a hotly-debated topic, so brace yourself.