Each month I look at the revenue and determine an arbitrary amount to pull out for myself.
FYI, I do not write code. We have three very part time developers building it.