• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 06:44
CEST 12:44
KST 19:44
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
TL.net Map Contest #21: Voting10[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3[ASL20] Ro8 Preview Pt2: Holding On9Maestros of the Game: Live Finals Preview (RO4)5
Community News
Weekly Cups (Oct 13-19): Clem Goes for Four0BSL Team A vs Koreans - Sat-Sun 16:00 CET6Weekly Cups (Oct 6-12): Four star herO85.0.15 Patch Balance Hotfix (2025-10-8)80Weekly Cups (Sept 29-Oct 5): MaxPax triples up3
StarCraft 2
General
herO joins T1 Weekly Cups (Oct 13-19): Clem Goes for Four The New Patch Killed Mech! TL.net Map Contest #21: Voting Stellar Fest: StarCraft II returns to Canada
Tourneys
INu's Battles #13 - ByuN vs Zoun Tenacious Turtle Tussle SC2's Safe House 2 - October 18 & 19 Sparkling Tuna Cup - Weekly Open Tournament $1,200 WardiTV October (Oct 21st-31st)
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 496 Endless Infection Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment Mutation # 493 Quick Killers
Brood War
General
BSL Season 21 BW General Discussion BGH Auto Balance -> http://bghmmr.eu/ BW caster Sayle BSL Team A vs Koreans - Sat-Sun 16:00 CET
Tourneys
[ASL20] Semifinal B Azhi's Colosseum - Anonymous Tournament [Megathread] Daily Proleagues SC4ALL $1,500 Open Bracket LAN
Strategy
Current Meta BW - ajfirecracker Strategy & Training Relatively freeroll strategies Siegecraft - a new perspective
Other Games
General Games
Path of Exile Stormgate/Frost Giant Megathread Dawn of War IV Nintendo Switch Thread ZeroSpace Megathread
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread Things Aren’t Peaceful in Palestine Men's Fashion Thread Sex and weight loss
Fan Clubs
The herO Fan Club!
Media & Entertainment
Series you have seen recently... Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
Formula 1 Discussion 2024 - 2026 Football Thread MLB/Baseball 2023 NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
The Heroism of Pepe the Fro…
Peanutsc
Rocket League: Traits, Abili…
TrAiDoS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1168 users

[G] Unit production calculator

Forum Index > StarCraft 2 Strategy
Post a Reply
1 2 3 4 5 Next All
Haploid
Profile Joined August 2010
Netherlands89 Posts
Last Edited: 2010-09-26 23:22:24
September 23 2010 13:41 GMT
#1
First time poster, yay.

Inspired by day9's latest cast, the noobie tuesday, I've made a little doodad to help you calculate how many unit-producing structures you can afford on any number of bases. You fill out which buildings you want to use, what mixture of units they should produce, and the doodad will tell you how much percent of your income is required to sustain it.

In day9's cast, he looks at a replay of a gold-level player that builds 3 warpgates and 2 stargates off 1 base, and they are mostly idle, since he doesn't have the income to use them.

The Protoss unit cost doodad is at:
http://haploid.nl/sc2/unit_production/protoss.php

I'll add a Terran version probably tomorrow. The Zerg version requires a little more thinking, but shouldn't be too long after that.

Update: Terran version available at:
http://haploid.nl/sc2/unit_production/terran.php

Update 2: Zerg version available at:
http://haploid.nl/sc2/unit_production/zerg.php
Thank you Carl, you saved me from having to kill them all myself.
CurLy[]
Profile Joined August 2010
United States759 Posts
Last Edited: 2010-09-23 13:51:05
September 23 2010 13:50 GMT
#2
nice, is the Percentage of 1-base mining based on that 1 second mining rate or on production cycles of each building? Can't seem to 4 gate or 2 gate robo under 100%
Great pasta mom, very Korean. Even my crown leans to the side. Gangsta. --------->
Haploid
Profile Joined August 2010
Netherlands89 Posts
September 23 2010 13:56 GMT
#3
Well, both actually.

A gateway consumes resources at a certain rate, expressed in minerals/second and gas/second. A base produces resources, similarly expressed. If it says 4-gate is 148% of your mineral production, that means that you consume 48% more minerals than 1 base can produce.

And that's not even taking into account chronoboosting, which increases your resource consumption quite a bit.
Thank you Carl, you saved me from having to kill them all myself.
MadNote
Profile Blog Joined May 2010
Lesotho75 Posts
September 23 2010 14:45 GMT
#4
I know chronoboosting increases your resource consumption if you use it on a warpgate, but what about when you use it on a Nexus. I can't find exact numbers, but I am pretty sure your probes bring in minerals faster when the Nexus is chronoboosted. Maybe it is 50% for 20 seconds, but it is definitely faster. Does this take into account if you are chronoboosting your Nexus (which happens quite a bit)?
Haploid
Profile Joined August 2010
Netherlands89 Posts
September 23 2010 14:55 GMT
#5
No, chrono-boosting your nexus will only affect the speed at which your probes are being trained (and motherships, of course ). The only way to increase the speed at which your workers gather minerals is to increase your gamespeed.
Thank you Carl, you saved me from having to kill them all myself.
mcneebs
Profile Blog Joined January 2009
Canada391 Posts
September 23 2010 15:06 GMT
#6
This seems like it would be a cool site to create some offline templates from, but it sure is hard to look at. Kudos for the effort, but is there any way to make it a little more streamlined and not so cluttered?
You do it to yourself. Just you. You and no one else.
farseerdk
Profile Joined May 2010
Canada504 Posts
September 23 2010 15:25 GMT
#7
Only pro's can 100% utilize their production structures perfectly. Even at the 1400pts diamond level, 4 can be supported off 1 base because you do let them side idle just for a bit.
Perspective is merely an angle.
CookieFactory
Profile Joined June 2010
United States43 Posts
September 23 2010 15:38 GMT
#8
1 probe and 1 zealot out of 1 nexus, 4-gate takes 158% of 1-base minerals? Somethingdoesntseemright.jpg

How are you calculating the building costs over time?
LolnoobInsanity
Profile Joined May 2010
United States183 Posts
September 23 2010 15:41 GMT
#9
On September 23 2010 23:45 MadNote wrote:
I know chronoboosting increases your resource consumption if you use it on a warpgate, but what about when you use it on a Nexus. I can't find exact numbers, but I am pretty sure your probes bring in minerals faster when the Nexus is chronoboosted. Maybe it is 50% for 20 seconds, but it is definitely faster. Does this take into account if you are chronoboosting your Nexus (which happens quite a bit)?


Chronoboosting doesn't increase mining speed at all.
Haploid
Profile Joined August 2010
Netherlands89 Posts
Last Edited: 2010-09-23 15:55:44
September 23 2010 15:50 GMT
#10
A warpgate allows you to warp in a zealot every 28 seconds. That's 100 minerals + 25 minerals (a quarter of a pylon) per 28 seconds, or 4.46 minerals per second.

Similarly, warping in probes costs 50 minerals + 12.5 minerals (an eighth of a pylon) per 17 seconds, or 3.67 minerals per second.

For 4 warpgates and 1 nexus, that sums up to 21.53 minerals per second. Significantly more than the 13.6 minerals per second that a fully saturated base provides. You can check the resource production in this thread.

It feels like you can afford 4 warpgates, because you aren't using them continually and you probably have some minerals saved up when you start warping in. Try it out in a skirmish against an easy AI and focus on nothing but the warpgates. You run out of minerals very quickly.

Oh, also, the cost includes the cost of pylons required to sustain your newly trained units. So if you build some surplus pylons in advance, that's part of the cost you already paid. And if your units die and you don't have to build new pylons, that's even more cost you don't have to pay.
Thank you Carl, you saved me from having to kill them all myself.
coltrane
Profile Blog Joined June 2008
Chile988 Posts
Last Edited: 2010-09-23 15:58:26
September 23 2010 15:56 GMT
#11
so you are counting zealot cost as 125, stalker as 150/50 and immortal like 300/100?

So any tech I want to add, I just divide the cost of the building/upgrade by its building time and compare with the leftover you provide us in the bottom of that page?


just realized, you didnt provide that i was mental substracting the spending.
Jävla skit
Slayer91
Profile Joined February 2006
Ireland23335 Posts
September 23 2010 15:56 GMT
#12
On September 24 2010 00:38 CookieFactory wrote:
1 probe and 1 zealot out of 1 nexus, 4-gate takes 158% of 1-base minerals? Somethingdoesntseemright.jpg

How are you calculating the building costs over time?


It's about ratio. 1 probe and 1 zealot means nexus building probes 100% and gateways building zealots 100%
1 probe and 2 zealots+2stalkers+1 sentry = nexus with 100% probes, gateways constantly producing zealot/stalker/sentry in a 2:2:1 ratio.
Ichabod
Profile Joined May 2010
United States1659 Posts
Last Edited: 2010-09-23 16:13:50
September 23 2010 16:01 GMT
#13
So, by your calculations, it is completely impossible to produce out of 4 warpgates continually, on 1base, even without probe production? What are you using for resources/minute? Found it...still seems weird though

Edit: I guess all the math/concepts make sense...I don't like how this program exposes the flaws in my macro skills
Haploid
Profile Joined August 2010
Netherlands89 Posts
Last Edited: 2010-09-23 16:09:00
September 23 2010 16:03 GMT
#14
On September 24 2010 00:56 coltrane wrote:
so you are counting zealot cost as 125, stalker as 150/50 and immortal like 300/100?

So any tech I want to add, I just divide the cost of the building/upgrade by its building time and compare with the leftover you provide us in the bottom of that page?

Yes to the first question. That's the basic idea.

Partial yes to the second question. It is a little hard to get the math right for upgrades and such, because you only build them once, and you build units more like a continual stream. So your upgrade cost / time would only apply for a short period, about 2 minutes or so, less if you chrono-boost. After that, the cost / time of the upgrade is no longer part of the equation. I hope that makes sense.

Most people just skip a unit here and there to have enough resources for an upgrade or tech.

On September 24 2010 01:01 Ichabod wrote:
So, by your calculations, it is completely impossible to produce out of 4 warpgates continually, on 1base, even without probe production? What are you using for resources/minute?

Yes, scroll up a little bit for the exact numbers. If your units don't die and you constantly have to add pylons and warp in zealots, you won't have the resources for it. Not on one base.

I'm not saying 4 gates is not the right number. I think it really is, since very few people really continually warp in zealots with zero delay, and mostly since at least some your units will probably die. Plus, it never hurts to have a slight overproduction capacity. Just in case you do get behind on spending.
Thank you Carl, you saved me from having to kill them all myself.
Elfich
Profile Joined September 2010
20 Posts
September 23 2010 16:05 GMT
#15
Can you add an option that removes the cost of the pylon?

If I am only producing units to replace losses I don't to build additional pylons.
Mikilatov
Profile Blog Joined May 2008
United States3897 Posts
September 23 2010 16:08 GMT
#16
This is really cool. I'll be looking forward to the Terran version! =)
♥ I used to lasso the shit out of your tournaments =( ♥ | Much is my hero. | zizi yO~ | Be Nice, TL.
Roaming
Profile Joined May 2010
United States239 Posts
September 23 2010 17:00 GMT
#17
I will say, i tested it against my own build order (which i know really well) and its pretty much dead on.

I knew exactly where i was capped at 1 base, and my unit ratio, and it came back 95/98%

I assume the CB put me slightly over and my macro pulls me slightly back down. So I gotta say excellent job on this tool.
Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so.
MadNote
Profile Blog Joined May 2010
Lesotho75 Posts
September 23 2010 18:33 GMT
#18
On September 24 2010 00:41 LolnoobInsanity wrote:
Show nested quote +
On September 23 2010 23:45 MadNote wrote:
I know chronoboosting increases your resource consumption if you use it on a warpgate, but what about when you use it on a Nexus. I can't find exact numbers, but I am pretty sure your probes bring in minerals faster when the Nexus is chronoboosted. Maybe it is 50% for 20 seconds, but it is definitely faster. Does this take into account if you are chronoboosting your Nexus (which happens quite a bit)?


Chronoboosting doesn't increase mining speed at all.


Did this ever work? Maybe at some point during the BETA? I swear I didn't just make this up. I thought I read it somewhere. I could have made it up though ha.
bobcat
Profile Joined May 2010
United States488 Posts
Last Edited: 2010-09-23 18:53:44
September 23 2010 18:49 GMT
#19
I would think that the amount of resources a warp gate uses varies greatly on what units it is producting. For example, a high templar and a sentry are of similar cost, but on has a much longer cooldown. Further more, how does this account for minerals vs. gas? You can 4 gate zealots and sentries off of one base and it will take a very long time to spend your minerals especially if you warped in the gateways progressively as your economy grew rather than all at once.

Dont get me wrong, what you are doing is awesome. However the data still needs to be taken with a grain of salt.

EDIT: just loaded the doodad, it takes unit comp into accout.
"I just want to see bobcat wrist deep in someone's mother's anus" 165 votes
DamageInq
Profile Joined April 2010
United States283 Posts
September 23 2010 19:03 GMT
#20
Chronoboosting increases income INDIRECTLY by increasing your number of probes. All this math is assuming your base is completely saturated, so chronoboosting does not help your income at that point.

This goes to prove my theory: the reason warpgates reduce cooldown (build time) by 5 seconds being to make up for macro flaws (not being able to queue units). You can't press 4-z-z-z-z and keep microing in a battle or while focusing on something, you have to go back to your base and click 4 times to produce


1 base can support 4 gates by practice but not by theory. I don't think it's best to adjust our builds to our skill/playstyle, not the theory.
"Scissors are OP. Rock is fine." -Paper
1 2 3 4 5 Next All
Please log in or register to reply.
Live Events Refresh
Replay Cast
10:00
LiuLi Cup #46 - Day 1
CranKy Ducklings62
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Reynor 383
OGKoka 251
SortOf 110
Harstem 8
StarCraft: Brood War
Calm 6179
GuemChi 1902
Horang2 1644
Bisu 1172
Zeus 938
Hyuk 623
Mong 595
Flash 570
actioN 561
Larva 493
[ Show more ]
TY 409
Jaedong 377
Stork 315
Mini 278
Killer 206
hero 183
Hyun 183
Soma 163
EffOrt 155
Pusan 129
JYJ84
ggaemo 68
Barracks 67
Rush 44
Aegong 40
yabsab 33
Light 28
sorry 27
Sharp 25
Bale 22
soO 20
Shine 20
Sacsri 19
Noble 16
JulyZerg 11
SilentControl 9
Movie 4
Dota 2
XaKoH 390
XcaliburYe255
League of Legends
JimRising 419
Counter-Strike
olofmeister2507
shoxiejesuss1010
x6flipin316
Heroes of the Storm
Khaldor183
Other Games
summit1g10701
singsing1518
Pyrionflax230
Mew2King63
Organizations
StarCraft: Brood War
lovetv 13
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• LUISG 45
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• iopq 2
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• WagamamaTV200
League of Legends
• HappyZerGling127
Upcoming Events
INu's Battles
16m
ByuN vs Zoun
Monday Night Weeklies
5h 16m
Replay Cast
12h 16m
WardiTV Invitational
1d
WardiTV Invitational
1d 3h
PiGosaur Monday
1d 13h
Replay Cast
1d 23h
Tenacious Turtle Tussle
2 days
The PondCast
2 days
OSC
3 days
[ Show More ]
WardiTV Invitational
4 days
Online Event
4 days
RSL Revival
4 days
RSL Revival
4 days
WardiTV Invitational
5 days
Afreeca Starleague
5 days
Snow vs Soma
Sparkling Tuna Cup
5 days
WardiTV Invitational
6 days
CrankTV Team League
6 days
RSL Revival
6 days
Liquipedia Results

Completed

Acropolis #4 - TS2
WardiTV TLMC #15
HCC Europe

Ongoing

BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
C-Race Season 1
IPSL Winter 2025-26
EC S1
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual

Upcoming

SC4ALL: Brood War
BSL Season 21
BSL 21 Team A
BSL 21 Non-Korean Championship
RSL Offline Finals
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
CranK Gathers Season 2: SC II Pro Teams
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.