# Calculate your current Proffits on Windows

**URL:** <https://forum.storj.io/t/calculate-your-current-proffits-on-windows/2559>\
**Category:** FAQ\
**Tags:** earnings-estimator, windows\
**Created:** [November 9, 2019, 6:58pm UTC](https://forum.storj.io/t/calculate-your-current-proffits-on-windows/2559 "2019-11-09T18:58:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Enzo](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/enzo/32/60_2.png) [@Enzo](https://forum.storj.io/u/Enzo)\
**Post date:** [November 9, 2019, 6:58pm UTC](https://forum.storj.io/t/calculate-your-current-proffits-on-windows/2559/1 "2019-11-09T18:58:56Z")

</div>

Hi everybody don’t know about you, but I have a GUI node and I would have found this very helpful back when I was setting up my node… [THIS](https://support.storj.io/hc/en-us/articles/360029053531-Calculate-the-current-earnings-for-v3) is a link to where I originally got this information but I tried to simplify it for people that are new at this **(HAVE A GUI INSTALL)** and don’t really understand what is going on. I think some thing like this would be good to have in the documentation and if people actually find it useful i might put is on ideas.portal. Hope this helps you, it would have helped me. Enzo.

Message me If I should add something.

**Step 1**  
Run this command in powershell and restart your computer. By running it you add a feature in windows that will allow you to run linux commands inside windows.  
Source: [https://docs.microsoft.com/en-us/windows/wsl/install-win10](https://docs.microsoft.com/en-us/windows/wsl/install-win10)  
Command: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

**Step 2**  
Install python and save [this script](https://raw.githubusercontent.com/ReneSmeekes/storj_earnings/master/earnings.py) **as earnings.py**

[Python download here](https://www.python.org/downloads/)

**Step 3**  
Run the command in **the Ubuntu shell** which you should have if you followed step 1.

command: sudo apt install sqlite3

**Step 4**

STOP YOUR NODE

**Step 5**

Run the script from the data folder (it’s better to copy it to a different place and run this script from there to avoid the database corruption with a parallel access)

python earnings.py

- either specify the path to the data folder as an argument:

python earnings.py /path/to/data

- or specify the path to the data folder and month:

python earnings.py /path/to/storj/data 2019-05

**Step 6**

Restart your node.

---

<div class="post-metadata">

**Author:** ![BrightSilence](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/brightsilence/32/6048_2.png) [@BrightSilence](https://forum.storj.io/u/BrightSilence)\
**Post date:** [November 9, 2019, 11:22pm UTC](https://forum.storj.io/t/calculate-your-current-proffits-on-windows/2559/2 "2019-11-09T23:22:18Z")

</div>

As I mentioned on the other topic where you posted these instructions, there is no need to install WSL and use the ubuntu shell. You can just run the script from powershell after installing python.

---

<div class="post-metadata">

**Author:** ![Enzo](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/enzo/32/60_2.png) [@Enzo](https://forum.storj.io/u/Enzo)\
**Post date:** [November 9, 2019, 11:40pm UTC](https://forum.storj.io/t/calculate-your-current-proffits-on-windows/2559/3 "2019-11-09T23:40:20Z")

</div>

Yes, I know. I added it in just because it was in [this](https://support.storj.io/hc/en-us/articles/360029053531-Calculate-the-current-earnings-for-v3).
