Net Revenue Stats in Easy Digital Downloads

One of the most important metrics for my business is net revenue, but it’s a harder number to find than you’d think.

I use Easy Digital Downloads, and their reporting tool and app shows you a revenue total. For example, let’s say you see this in the EDD reports:

Total earnings this month: $10,000

You had $11,000 of gross sales, and $1,000 of refunds, then EDD shows you $10,000 as the total. Sounds ok so far.

The problem I had is that refunds are only counted if the purchase date was this month. This may not seem like a big deal, but it can actually cause the monthly total to be off by thousands.

For example, let’s take the numbers from above, but you give another refund for someone who purchased last month for $500. You issue the refund, and your earnings this month still show $10,000, not $9,500. Your earnings for last month go down by $500, but not this month.

I am only able to put $9,500 in my bank account this month, but my sales show $10,000. That may not seem like a big deal with these numbers, but the problem gets worse with higher revenue.

I think a rolling 30-day sales total is more important than “this month” and “last month”, and I want to see net revenue with all refunds accounted for. For this reason, I changed my plugin EDD Metrics to show net revenue, by using this equation:

$net_revenue = ( revenue from 60 days ago until now ) - ( revenue from 60 days ago until 30 days ago )

This ensures we have all refunds from the last 60 days accounted for in our net revenue number. You will now see this as the default revenue number in EDD Metrics, it will probably be lower than the total you see in your EDD reports. (Of course real net revenue would subtract gateway fees, but I have no way to tell what your gateway fees are)

I also added recurring revenue stats with comparisons, and made some other improvements. Download version 0.6 from

To be clear, I’m not accusing EDD of doing things the wrong way, I just prefer to see my revenue numbers a different way than they do it. That’s why I made my own plugin.


Get more great content like this, enter your email below.


Loading comments...

Leave a comment

Your email address will not be published. Required fields are marked *