# Material Efficiency Calculation

**URL:** <https://forums.eveonline.com/t/material-efficiency-calculation/490580>\
**Category:** General Discussion\
**Created:** [June 19, 2025, 11:14am UTC](https://forums.eveonline.com/t/material-efficiency-calculation/490580 "2025-06-19T11:14:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sweatyfish](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/sweatyfish/32/464995_2.png) [@Sweatyfish](https://forums.eveonline.com/u/Sweatyfish)\
**Post date:** [June 19, 2025, 11:14am UTC](https://forums.eveonline.com/t/material-efficiency-calculation/490580/1 "2025-06-19T11:14:45Z")

</div>

Hello,

I’m building an industry calculator, but I’m struggling with getting my numbers right, and I’m hoping a more enlightened programmer/mathematician can help me out.

From this website: [https://eve-industry.org/export/IndustryFormulas.pdf](https://eve-industry.org/export/IndustryFormulas.pdf)  
I’m given the formula:

required = max(runs, ceil(round(runs ∗ baseQuantity ∗ materialModifier, 2)))

Time for math! 😄  
My blueprint has 1% material efficiency.  
I’m building in a Raitaru, so 1% efficiency.  
The Raitaru is placed in null-sec with a ME rig, so 2 \* 2.1 = 4.2% ME efficiency.  
All in all, 6.2% ME efficiency.

The Golem has a base Morphite cost of 975, and for the sake of simplicity, I’ll do 1 run:

975 \* 0.938 = 914.55  
Rounding with Math.Round gives 914.55, so nothing changes.  
ceil(914.55) = 915

So, 915 Morphite required?  
Except, when checking in-game and on Fuzzworks, both show 916.

For any C# wizards out there, this is the code I use to evaluate:

```auto

public int CalculateQuantity(double baseQuantity, int runs, double meEfficiency)
{    
    double calculatedQuantity = Math.Round(runs * baseQuantity * (meEfficiency), 2);
    int requiredQuantity = (int)Math.Ceiling(calculatedQuantity);
    return Math.Max(runs, requiredQuantity);
}

```

What am I missing?

---

<div class="post-metadata">

**Author:** ![Sara\_Seraph](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/sara_seraph/32/495525_2.png) [@Sara\_Seraph](https://forums.eveonline.com/u/Sara_Seraph)\
**Post date:** [June 19, 2025, 4:11pm UTC](https://forums.eveonline.com/t/material-efficiency-calculation/490580/2 "2025-06-19T16:11:08Z")

</div>

[Research - EVE University Wiki](https://wiki.eveuniversity.org/Research)

Might help.

Edit: I am using the EXCEL add-in, only using hobgoblin BPs comparing Tech 1 and Tech 2 and my numbers are not matching either. I am definitely not a rocket scientist; I just play one on TV. 😀

---

<div class="post-metadata">

**Author:** ![Sweatyfish](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/sweatyfish/32/464995_2.png) [@Sweatyfish](https://forums.eveonline.com/u/Sweatyfish)\
**Post date:** [June 20, 2025, 9:14pm UTC](https://forums.eveonline.com/t/material-efficiency-calculation/490580/3 "2025-06-20T21:14:43Z")

</div>

i’ll give it read maybe i figure out something  
Thank you 😃

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/eveonline/original/3X/4/1/41ec4921cbaca7a6f9ea556e7cc20018461eae5e.png) [@system](https://forums.eveonline.com/u/system)\
**Post date:** [September 18, 2025, 9:14pm UTC](https://forums.eveonline.com/t/material-efficiency-calculation/490580/4 "2025-09-18T21:14:50Z")

</div>

Closed on September 18, 2025, 9:14pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
