New Tool: Potential Post Rewards Calculator (includes STEEM Rewards)

in #steemdev6 years ago

I made a calculator for calculating SBD, STEEM, and SP rewards of a post given its displayed $ value.

Use the calculator here

Note that variables such as STEEM price have to be input to current values.

Some might have noticed that post rewards system has been updated to include STEEM rewards, making old post rewards calculators/formulas obselete.

Not being able to find any new calculators or resources with concrete formulas on how to calculate the new post rewards, I dove into the Steemit source code to find them out.

Here are the new formulas:


SBD_Post_Reward = pending_payout * (percent_steem_dollars / 100) * (sbd_print_rate / 100)

where pending_payout is the dollar value displayed on the post, percent_steem_dollars is 50% by default, sbd_print_rate is currently ~50%, according to Steemd.


SP_Post_Reward = (pending_payout - (pending_payout * (percent_steem_dollars / 100) ) ) / price_per_steem

where price_per_steem is the current price of STEEM in USD.


STEEM_Post_Reward = (pending_payout * ( percent_steem_dollars / 100 ) - SBD_Post_Reward) / price_per_steem

where SBD_Post_Reward is the post reward in SBD that was previously calculated.


The formulas are not 100% accurate, but work pretty well. I found them in the source code line 373 onwards, if anyone wants to check. I edited the formulas above for more clarity by the way.

Steemit now shows post rewards on the post themselves, but I thought this might be useful for developers or people wanting to calculate profit for voting bots or something.


Sign up for Binance and start trading cryptocurrency today
Earn free Bitcoin from the Moon Bitcoin Faucet

Sort:  

You got a 25.00% upvote from @nageshwar0369 courtesy of @yoghurt

You got a 12.87% upvote from @nado.bot courtesy of @yoghurt!

Send at least 0.1 SBD to participate in bid and get upvote of 0%-100% with full voting power.

You got a 23.00% upvote from @dailyupvotes courtesy of @yoghurt!

You got a 13.68% upvote from @joeparys! Thank you for your support of our services. To continue your support, please follow and delegate Steem power to @joeparys for daily steem and steem dollar payouts!

This post has received a 1.10 % upvote from @booster thanks to: @yoghurt.

You got a 9.09% upvote from @steembloggers courtesy of @yoghurt!

You got a 13.70% upvote from @sleeplesswhale courtesy of @yoghurt!

This post has received a 14.20% upvote from @lovejuice thanks to @yoghurt. They love you, so does Aggroed. Please be sure to vote for Witnesses at https://steemit.com/~witnesses.

Nice post ! You got 10.00% upvote from @flymehigh. Earn free sbd/steem daily by delegating(renting) your SP. We share high return, click here to delegate your sp to flymehigh if you don't know, how to earn passive income by delegating your SP click here for more info Join our discord You can promote your posts. Thanks.

Great post!
Thanks for tasting the eden!

Coin Marketplace

STEEM 0.28
TRX 0.13
JST 0.033
BTC 62121.36
ETH 3004.20
USDT 1.00
SBD 3.71