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

in #steemdev2 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.

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.

Great post!
Thanks for tasting the eden!

Release the Kraken! You got a 9.09% upvote from @seakraken courtesy of @yoghurt!

Sneaky Ninja Attack! You have just been defended with a 4.80% upvote!
I was summoned by @yoghurt. I have done their bidding and now I will vanish...

woosh
A portion of the proceeds from your bid was used in support of youarehope and tarc.

This post has received a 13.42% UpGoat from @shares. Send at least 0.1 SBD to @shares with a post link in the memo field.

Interested to earn daily? Delegate Steem Power to receive 95% payout rewards. Use this link https://on.king.net/shares to delegate SP to @Shares. Join us at https://steemchat.com/ discord chat.

Support my owner. Please vote @Yehey as Witness - simply click and vote.

You have been defended with a 44.44% upvote!
I was summoned by @yoghurt.

You got a 17.34% upvote from @whalepromobot courtesy of @yoghurt!

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

If you use our Robot before your post has 1 day and get an Upvote greater than 1%, you will automatically receive Upvotes between 1% and 10% as a bonus from our other robots.

Do you know, you can also earn passive income after every bidding round simply by delegating your Steem Power to @minnowhelper?
you can delegate by clicking following links: 10 SP, 100 SP, 500 SP, 1000 SP or Another amount

Help support @minnowhelper and the bot tracker by voting for @yabapmatt for Steem witness! To vote, click the button below or go to https://steemit.com/~witnesses and find @yabapmatt in the list and click the upvote icon. Thank you.

Voting for @yabapmatt

STEEM 0.17
TRX 0.03
JST 0.037
BTC 10798.62
ETH 357.14
USDT 1.00
SBD 0.96