• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 13:54
CET 19:54
KST 03:54
  • 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
RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13
Community News
Weekly Cups (Nov 10-16): Reynor, Solar lead Zerg surge1[TLMC] Fall/Winter 2025 Ladder Map Rotation14Weekly Cups (Nov 3-9): Clem Conquers in Canada4SC: Evo Complete - Ranked Ladder OPEN ALPHA8StarCraft, SC2, HotS, WC3, Returning to Blizzcon!45
StarCraft 2
General
RotterdaM "Serral is the GOAT, and it's not close" [TLMC] Fall/Winter 2025 Ladder Map Rotation Weekly Cups (Nov 10-16): Reynor, Solar lead Zerg surge Mech is the composition that needs teleportation t RSL Season 3 - RO16 Groups C & D Preview
Tourneys
2025 RSL Offline Finals Dates + Ticket Sales! $5,000+ WardiTV 2025 Championship RSL Revival: Season 3 Sparkling Tuna Cup - Weekly Open Tournament Constellation Cup - Main Event - Stellar Fest
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 500 Fright night Mutation # 499 Chilling Adaptation Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened
Brood War
General
FlaSh on: Biggest Problem With SnOw's Playstyle What happened to TvZ on Retro? BGH Auto Balance -> http://bghmmr.eu/ SnOw's ASL S20 Finals Review BW General Discussion
Tourneys
[BSL21] GosuLeague T1 Ro16 - Tue & Thu 22:00 CET [Megathread] Daily Proleagues Small VOD Thread 2.0 [BSL21] RO32 Group D - Sunday 21:00 CET
Strategy
Current Meta How to stay on top of macro? PvZ map balance Simple Questions, Simple Answers
Other Games
General Games
Clair Obscur - Expedition 33 Beyond All Reason Stormgate/Frost Giant Megathread Should offensive tower rushing be viable in RTS games? Path of Exile
Dota 2
Official 'what is Dota anymore' discussion
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 The Games Industry And ATVI About SC2SEA.COM
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
TL Community
The Automated Ban List
Blogs
Dyadica Gospel – a Pulp No…
Hildegard
Coffee x Performance in Espo…
TrAiDoS
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Reality "theory" prov…
perfectspheres
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1544 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
Next event in 2h 6m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 436
UpATreeSC 86
StarCraft: Brood War
Britney 28102
Rain 3142
Calm 2798
GuemChi 567
Dewaltoss 133
Leta 67
scan(afreeca) 30
zelot 27
Movie 19
yabsab 16
Dota 2
qojqva3266
Dendi1015
Counter-Strike
pashabiceps1051
Heroes of the Storm
Liquid`Hasu32
Other Games
FrodaN3814
DeMusliM473
ceh9473
KnowMe166
ArmadaUGS119
C9.Mang073
Trikslyr63
MindelVK9
Organizations
StarCraft 2
angryscii 11
StarCraft: Brood War
lovetv 9
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 21 non-featured ]
StarCraft 2
• Hinosc 29
• Reevou 3
• Dystopia_ 1
• sooper7s
• AfreecaTV YouTube
• Migwel
• LaughNgamezSOOP
• intothetv
• IndyKCrew
• Kozan
StarCraft: Brood War
• FirePhoenix19
• blackmanpl 14
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 3487
• WagamamaTV527
League of Legends
• Nemesis4833
• TFBlade930
Other Games
• imaqtpie937
• Shiphtur262
Upcoming Events
BSL: GosuLeague
2h 6m
PiGosaur Cup
6h 6m
The PondCast
15h 6m
Replay Cast
1d 4h
RSL Revival
1d 12h
herO vs Zoun
Classic vs Reynor
Maru vs SHIN
MaxPax vs TriGGeR
BSL: GosuLeague
2 days
RSL Revival
2 days
WardiTV Korean Royale
2 days
RSL Revival
3 days
WardiTV Korean Royale
3 days
[ Show More ]
IPSL
3 days
Julia vs Artosis
JDConan vs DragOn
RSL Revival
4 days
Wardi Open
4 days
IPSL
5 days
StRyKeR vs OldBoy
Sziky vs Tarson
Replay Cast
5 days
Monday Night Weeklies
5 days
Replay Cast
6 days
Wardi Open
6 days
Liquipedia Results

Completed

Proleague 2025-11-14
Stellar Fest: Constellation Cup
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
BSL Season 21
CSCL: Masked Kings S3
SLON Tour Season 2
RSL Revival: Season 3
META Madness #9
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 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.