array( 'method'=> "GET", 'user_agent'=> "MozillaXYZ/1.0")); $context = stream_context_create($opts); $json = file_get_contents('https://www.bitstamp.net/api/ticker/'); $jdec = json_decode($json); $THB = $jdec->{'bid'}; $THS = $jdec->{'ask'}; $price2 = $THS; $url = "http://blockexplorer.com/q/hextarget"; $ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $target = curl_exec($ch); curl_close($ch); if ($difficulty <=0) { // Connect to server and select databse. mysql_connect("localhost", "tkaptain", "kaptaintt")or die("cannot connect"); mysql_select_db("btc_db")or die("cannot select DB"); $sql="SELECT * FROM calculator ORDER BY timestamp desc limit 1"; $result=mysql_query($sql); $rows=mysql_fetch_array($result); $difficulty=$rows['difficulty_2']; $difficulty2=$rows['difficulty_2']; $estimate=$rows['estimate']; $THS=$rows['price_2']; $price2 = $THS; $THB=0; $xdays=$rows['days']; mysql_close(); } $diffup = $estimate - $difficulty; $diffup = $diffup / $difficulty; $diffup = $diffup * 100; $count = $nexttarget - $blockcount; $bph = 6 * (1+($diffup/100)); $ddays = ($count / $bph) / 24; if ($ddays <=0) $ddays = $xdays; ?> BTC Mining Calculator : www.kaptain.me/btc_calc.php

 BTC Mining Calculator
Difficulty: Days:
Estimate: Change:   0 ) { echo""; } else { echo""; } ?> %
Block Count: Blocks/Hour
Next Target: To Target:
  Bookmark This Page
Last Price on Bitstamp: 0) { ?>(Sell | Buy) ".$THS." | $ ".$THB.""; ?>    API DOWN   
BTC Mining Calculator is a Bitcoin production calculator that takes into account the following variables when calculating your predicted mining production and profit.
  • The current difficulty
  • The estimated difficulty change
  • The current speed Bitcoins are being produced
  • Your average Mhash rate
Don't know what a Bitcoin is??    Read up on it here at Bitcoin.org or at the Bitcoin Wiki.
BTC Mining Calculator
Difficulty : ">
Price Bitstamp ($USD) :
MHashes / Second : ">
Power Usage (W) : ">
Electricity Cost (kWh) : ">
Hardware Cost ($USD) : ">
ROI Timeframe (Days) : ">
 
   
Blockexporter.com  
Bitstamp.com  
Mining Hardware Comparison  
GPU Power Consumption  
Electricity Rates: US, EU  
Current Hardware Prices  
Return On Investment  


Selected Difficulty:
MHashes: BTC Revenue ($USD) Power Cost Profit
Per Day: $ $ $
Per Week: $ $ $
Per Month: $ $ $

Estimated Difficulty:
Price: $ BTC Revenue ($USD) Power Cost Profit
Per Day: $ $ $
Per Week: $ $ $
Per Month: $ $ $

Your Cost to make 1 BTC - Selected Difficulty $

$hwcost) { $roi = $hwcost / ($pday * $price); $roi2 = $hwcost / (($pday * $price) - $pcost_day); } else { $tocover = $hwcost - $possibleprofit; $spot = $pdaye * $price; $roi = $ddays + ($tocover / $spot); $spot2 = $roi * $pcost_daye; $roi2 = $roi + ($spot2 / $spot); } $mhadj = $speed * ( $diffup / 100); $mhtotal = $speed + $mhadj; if ($timeframe <= 0) { $sum = 0; $sum2 = 0; } else { $loc = $timeframe; $pcurrent = $ddays / $loc; //Percent BTC Current Rate $pavl = $pday * $loc; //Present BTC Available $btccurr = $pcurrent * $pavl; // Present BTC earned $eavl = $pdaye * $loc; //Estimated BTC Available $btcest = (1 - $pcurrent) * $eavl; //Estimated BTC earned $sum = ($btccurr + $btcest) * $price; //Total BTC for period $sum2 = $sum - ($loc * $pcost_day); } ?> Difficulty Change Adjusted Calculations
The Difficulty was adjusted on day for the calculations below this line.


Return on Investment
Hardware Cost $
Days to Recover
Electricity Adj.
Time Frame Analysis
Time Frame (Days)
Revenue ($USD) $
Electricity Adj. $
MHashes to Maintain Production
Current MHashes
MHash Adjustment
MHash Total
 

Difficulty Change Adjusted Earnings
Day
BTC Revenue ($USD) Power Cost Profit
3
$ $ $
5
$ $ $
7
$ $ $
9
$ $ $
11
$ $ $
13
$ $ $
15
$ $ $
17
$ $ $
19
$ $ $
21
$ $ $
23
$ $ $
25
$ $ $
27
$ $ $
29
$ $ $
31
$ $ $

BTC Production Graph

Now that your computer is making some money for you, put it to good use for humanity and help cure cancer.
Join the XtremeSystems.org World Community Grid Team to help, click here for more information.

These Calculations are ONLY an estimate and are not guaranteed!!

  If you found this calculator usefull, please donate to: 1JW7K8mehuiR5Pg2VT1uZ3QA4KxEjsdXkG