How many UTXOs have a marginal fee cost that's higher than its worth? I define marginal fee cost as the number of bytes required to add that UTXO as an input to a TX multiplied by the satoshi/byte rate of the blocks being found.

So for a normal p2pkh UTXO, this would currently be roughly 180 bytes (number of bytes this UTXO would take up in a TX as an input) * 200 satoshi/byte, or 36000 satoshi. So the answer would be however many UTXOs exist that are 36000 satoshi or below for p2pkh. Essentially, I want to know how many UTXOs are currently in the UTXO set that would not be worth redeeming should the fees be above a certain satoshi/byte.

I would like this data at 100 satoshi/byte, 200 satoshi/byte, 300 satoshi/byte, 500 satoshi/byte and 1000 satoshi/byte.
Here are the results at block 472236

Processed 41823253 P2PKH txouts


Fee is 0 satoshi/byte: 41823253 txouts are spendable having total value 12504138.52 BTC
Fee is 50 satoshi/byte: 28693175 txouts are spendable having total value 12503686.97 BTC
Fee is 100 satoshi/byte: 21753912 txouts are spendable having total value 12502819.35 BTC
Fee is 200 satoshi/byte: 16426255 txouts are spendable having total value 12501503.34 BTC
Fee is 300 satoshi/byte: 14808011 txouts are spendable having total value 12500784.29 BTC
Fee is 500 satoshi/byte: 13208366 txouts are spendable having total value 12499668.03 BTC
Fee is 1000 satoshi/byte: 10998782 txouts are spendable having total value 12496954.83 BTC


This output was generated using a fork of bitcointools. This script reads utxo from .bitcoin/chainstate directory of a bitcoin node. Feel free to fork/use the script to generate related data later.