I want to push back against this a little. He gets $500/month now, there is no guarantee he will keep receiving that number when he stops maintaining and improving his app. I would assume the number will go up if he keeps improving it, but if he stops it will eventually become 0$/month.
That's what the 4% is. A perpetuity that pays out $6000 a year is valued at $150,000 assuming a 4% discount rate. Without a discount rate, the value of any perpetuity would be infinity.
$6,000 / 0.04 = $150,000. in other words, if OP had saved $150,000 and was withdrawing 4% per year, they would have the same $6,000 as what the app is generating.
the analogy is imperfect, because presumably the OP is spending some time to generate that app income; it's not totally passive.
[EDIT] Thanks got it!