• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 07:34
CEST 13:34
KST 20:34
  • 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 1 - Final Week6[ASL19] Finals Recap: Standing Tall12HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0
Community News
Esports World Cup 2025 - Brackets Revealed12Weekly Cups (July 7-13): Classic continues to roll4Team TLMC #5 - Submission extension3Firefly given lifetime ban by ESIC following match-fixing investigation17$25,000 Streamerzone StarCraft Pro Series announced7
StarCraft 2
General
RSL Revival patreon money discussion thread Esports World Cup 2025 - Brackets Revealed Who will win EWC 2025? The GOAT ranking of GOAT rankings Weekly Cups (July 7-13): Classic continues to roll
Tourneys
FEL Cracov 2025 (July 27) - $8000 live event RSL: Revival, a new crowdfunded tournament series $5,100+ SEL Season 2 Championship (SC: Evo) WardiTV Mondays Sparkling Tuna Cup - Weekly Open Tournament
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
External Content
Mutation # 482 Wheel of Misfortune Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome
Brood War
General
Flash Announces (and Retracts) Hiatus From ASL BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion Starcraft in widescreen A cwal.gg Extension - Easily keep track of anyone
Tourneys
[Megathread] Daily Proleagues Cosmonarchy Pro Showmatches CSL Xiamen International Invitational [BSL20] Non-Korean Championship 4x BSL + 4x China
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile CCLP - Command & Conquer League Project The PlayStation 5
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Stop Killing Games - European Citizens Initiative Summer Games Done Quick 2025! Things Aren’t Peaceful in Palestine
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread [\m/] Heavy Metal Thread
Sports
Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 2024 - 2025 Football Thread NBA General Discussion NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Men Take Risks, Women Win Ga…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 752 users

Brood War web app to calculate unit interactions

Forum Index > BW General
Post a Reply
1 2 Next All
facecsgo
Profile Joined March 2024
12 Posts
Last Edited: 2024-05-17 01:51:42
May 10 2024 15:10 GMT
#1
https://bwcalc.com

I made a web app to calculate hits to kill and time to kill for units at all upgrade levels, including damage modifiers, hp and shield regen, burn damage, unit-specific upgrades and it is extremely accurate.

I'd like to add more things over time if people would use it, like # of medics healing, # SCVs repairing, estimations for splash damage, more buildings, spell damages.

If you have any feedback for changes or think you have found an error, please let me know.

edit May 12 2024: updated to add some unit information and a checkbox to show +/-% changes instead of raw numbers

edit May 13 2024: accuracy example, 2 Dragoons vs 2 carriers, 0.6 seconds or 1.76% variance. Extremely small variance for such a long engagement, units also have +/- a few frame randomness in attack animations: https://i.imgur.com/oXeo3f9.png

edit May 14 2024: added a checkbox for RANDOM miss chance. I'm going to be honest, it's random, like the game engine, which means it has chaotic results. On average it is approximately ~2x hits to kill with uphill miss chance, but honestly it's interesting to see the full range of randomness.

edit May 16 2024: created liquipedia page that is extremely detailed in how the calculations work and the limitations that exist (Wiki)BW Calculator
Psyonic_Reaver
Profile Blog Joined June 2007
United States4336 Posts
May 10 2024 20:03 GMT
#2
This is awesome. Thank you!
So wait? I'm bad? =(
prosatan
Profile Joined September 2009
Romania7996 Posts
May 10 2024 21:36 GMT
#3
Yessirrr
Lee JaeDong Fighting! The only church that illuminates is the one that burns.
MildCocoA
Profile Joined October 2010
Korea (South)129 Posts
Last Edited: 2024-05-11 02:24:19
May 11 2024 02:21 GMT
#4
Thank you. I added it to Liquipedia (Wiki)Tools
[AS]Rattus
Profile Joined March 2017
427 Posts
May 12 2024 08:33 GMT
#5
Arbiter needs 9999 or probably more attacks to kill a 2/3 Carrier.
The more you know
prosatan
Profile Joined September 2009
Romania7996 Posts
May 12 2024 09:15 GMT
#6
On May 12 2024 17:33 [AS]Rattus wrote:
Arbiter needs 9999 or probably more attacks to kill a 2/3 Carrier.
The more you know

And also firebat, who needs the same amount to kill a fully upgraded ultralisk
Lee JaeDong Fighting! The only church that illuminates is the one that burns.
LUCKY_NOOB
Profile Blog Joined June 2013
Bulgaria1427 Posts
Last Edited: 2024-05-12 12:27:38
May 12 2024 12:27 GMT
#7
Nice!

Mischance calculations come to mind as another feature.

Also is this included:

The chance of an "air shot" is 1/256; that is, with the two units on equal elevation (including air units), a ranged unit's chance to hit is 99.609375%.

Keep up the great work! <3 <3 <3
ko-fi.com/luckynoob
facecsgo
Profile Joined March 2024
12 Posts
Last Edited: 2024-05-12 15:17:40
May 12 2024 15:16 GMT
#8
On May 12 2024 17:33 [AS]Rattus wrote:
Arbiter needs 9999 or probably more attacks to kill a 2/3 Carrier.
The more you know


I had to test this one directly before because it broke my calculator.
A no upgrade arbiter cannot kill a 2/3 carrier ever.
Shield regens before arbiter hits. Armor and shield armor upgrades + base armor reduce damage below 0. Since the arbiter hits the shields, it does not deal the minimum hp damage of 0.5.
So the carrier just goes 0 shields to 1 shields to 0 shields and the health bar never takes damage.

Anything that displays “9999” just means >1000 and I stop the calculations, just because it’s kind of meaningless at that point and I don’t want calculations to take forever!
WGT-Baal
Profile Blog Joined June 2008
France3357 Posts
May 13 2024 00:11 GMT
#9
This is seriously amazing, great job!
Horang2 fan
facecsgo
Profile Joined March 2024
12 Posts
Last Edited: 2024-05-13 02:01:01
May 13 2024 02:00 GMT
#10
On May 12 2024 21:27 LUCKY_NOOB wrote:
Nice!

Mischance calculations come to mind as another feature.

Also is this included:

The chance of an "air shot" is 1/256; that is, with the two units on equal elevation (including air units), a ranged unit's chance to hit is 99.609375%.

Keep up the great work! <3 <3 <3


Only problem with miss chance is it adds randomness to the calculation, i.e. every time you calculate it would be different.
Like take Zealot vs Zergling, 3 hits to kill. Would I just 1/256 you press the calculation button and it says 4 hits instead? or always show 3 / 255 * 256 = 3.01 hits to kill?
Maybe there's another way to add it but I'm not sure how to make it make sense.


Separately: I added unit info tables that show some basic info as well as a checkbox that lets you toggle between raw numbers and percent change
I advise you ctrl+f5 on the website to update the formatting as I changed it a bit
Peeano
Profile Blog Joined March 2009
Netherlands4987 Posts
May 13 2024 09:09 GMT
#11
Definitely not bother to include misses into calculations. Just add high ground, tree and regular miss chances as a note.

Btw do we even know if 2 back to back shots (1/256) can be misses? I wouldn't be surprised if Blizz added an exception that it cannot happen. In all my accumulated playing and watching I don't recall seeing it happen.
FBH #1!
facecsgo
Profile Joined March 2024
12 Posts
May 13 2024 13:19 GMT
#12
On May 13 2024 18:09 Peeano wrote:
Definitely not bother to include misses into calculations. Just add high ground, tree and regular miss chances as a note.

Btw do we even know if 2 back to back shots (1/256) can be misses? I wouldn't be surprised if Blizz added an exception that it cannot happen. In all my accumulated playing and watching I don't recall seeing it happen.


This would make a little more sense, but it still isn't an exact calculation since missing is random, so the results could change every time you hit calculate (unless I just say the player misses every other hit).
I do think I heard different doodads have different miss chances but I do not think that's documented anywhere, so I would only do the ~53.125% chance to hit on high ground.
MapleLeafSirup
Profile Joined July 2009
Germany950 Posts
May 13 2024 14:57 GMT
#13
Haha Wraith vs Egg: 9999
facecsgo
Profile Joined March 2024
12 Posts
Last Edited: 2024-05-13 18:21:04
May 13 2024 16:21 GMT
#14
On May 13 2024 23:57 MapleLeafSirup wrote:
Haha Wraith vs Egg: 9999


9999 only means >1000, but I enjoy looking into these so I did.
This actually appears to be an error based on the assumption that Eggs regenerate HP. It appears that Eggs and Cocoons do not regenerate health, in my testing just now, so that is a bug I need to fix. I had never tested it before.

Wraith should deal the games minimum 0.5 damage to an egg, meaning it will kill the egg in 400 hits.

This bug has been fixed

(Not related to the above reply)
Edit: I added an example of the calculation accuracy to the main post, which is also here: https://i.imgur.com/oXeo3f9.png
IntoTheWow
Profile Blog Joined May 2004
is awesome32274 Posts
May 13 2024 23:48 GMT
#15
Pretty cool! Thanks for sharing
Moderator<:3-/-<
facecsgo
Profile Joined March 2024
12 Posts
May 14 2024 23:37 GMT
#16
On May 12 2024 21:27 LUCKY_NOOB wrote:
Nice!

Mischance calculations come to mind as another feature.

Also is this included:

The chance of an "air shot" is 1/256; that is, with the two units on equal elevation (including air units), a ranged unit's chance to hit is 99.609375%.

Keep up the great work! <3 <3 <3


On May 13 2024 18:09 Peeano wrote:
Definitely not bother to include misses into calculations. Just add high ground, tree and regular miss chances as a note.

Btw do we even know if 2 back to back shots (1/256) can be misses? I wouldn't be surprised if Blizz added an exception that it cannot happen. In all my accumulated playing and watching I don't recall seeing it happen.


I added random miss chance checkbox, 136/256 per (Wiki)Damage
It is fully random so results change every single time
Cheesefome
Profile Joined May 2016
311 Posts
Last Edited: 2024-05-15 04:59:09
May 15 2024 04:57 GMT
#17
Wow so cool man!! Love SC community they contribute so much.

Will there ever be an app version instead of a link/browser?
facecsgo
Profile Joined March 2024
12 Posts
May 15 2024 14:54 GMT
#18
On May 15 2024 13:57 Cheesefome wrote:
Wow so cool man!! Love SC community they contribute so much.

Will there ever be an app version instead of a link/browser?


Ironically, I made it a website because I assumed if I released a desktop app that everyone would assume it's malware or something!
I don't really plan to release a desktop app because it'd be a struggle to maintain both, with the website I can push bug fixes really quickly (i.e. like when I found out that I had Eggs and Cocoons regenerating HP, but they do not).
I'm also still intending to add a lot of features over time.
I feel like a Desktop app would just make all of this harder & slower so it's not something I'm interested in doing
LUCKY_NOOB
Profile Blog Joined June 2013
Bulgaria1427 Posts
Last Edited: 2024-05-16 13:52:43
May 16 2024 13:52 GMT
#19
On May 15 2024 08:37 facecsgo wrote:
Show nested quote +
On May 12 2024 21:27 LUCKY_NOOB wrote:
Nice!

Mischance calculations come to mind as another feature.

Also is this included:

The chance of an "air shot" is 1/256; that is, with the two units on equal elevation (including air units), a ranged unit's chance to hit is 99.609375%.

Keep up the great work! <3 <3 <3


Show nested quote +
On May 13 2024 18:09 Peeano wrote:
Definitely not bother to include misses into calculations. Just add high ground, tree and regular miss chances as a note.

Btw do we even know if 2 back to back shots (1/256) can be misses? I wouldn't be surprised if Blizz added an exception that it cannot happen. In all my accumulated playing and watching I don't recall seeing it happen.


I added random miss chance checkbox, 136/256 per (Wiki)Damage
It is fully random so results change every single time


Amazing! Yeah it was a suggestion in the spirit of completeness. Not that it's the most important info in the world but it's a nice touch. <3

I even use Discord from my browser these days. Only point of a program (calling it an app is too new school for my taste lel) is to have extra feature or if Flash forbid the site goes down the service lives on in the community.

I added it to the Build Orders document:

https://docs.google.com/spreadsheets/d/1O0XEPA9ZxqkMsul7UjEt1wotvkBE1drB/edit?pli=1#gid=1989302709

Keep up the great work! <3
ko-fi.com/luckynoob
rtyrt7
Profile Joined August 2018
48 Posts
May 16 2024 19:20 GMT
#20
Really nice job! Thank you!
1 2 Next All
Please log in or register to reply.
Live Events Refresh
Next event in 4h 26m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Trikslyr33
StarCraft: Brood War
Sea 28343
BeSt 4619
Mini 1684
Pusan 995
Stork 647
EffOrt 372
Zeus 360
PianO 294
Last 194
ToSsGirL 117
[ Show more ]
Barracks 111
zelot 65
JulyZerg 54
Aegong 39
Sharp 29
Sacsri 25
Icarus 18
GoRush 16
Rush 15
IntoTheRainbow 14
Noble 14
sSak 13
SilentControl 13
scan(afreeca) 10
Bale 9
Hm[arnc] 8
Britney 0
Dota 2
Gorgc7267
singsing2247
XcaliburYe325
Counter-Strike
shoxiejesuss869
x6flipin526
sgares238
Super Smash Bros
Mew2King151
Other Games
gofns10738
DeMusliM330
Pyrionflax123
SortOf109
Organizations
Other Games
gamesdonequick3392
StarCraft: Brood War
lovetv 9
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 12 non-featured ]
StarCraft 2
• Berry_CruncH418
• Hinosc 21
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Upcoming Events
uThermal 2v2 Circuit
4h 26m
Replay Cast
12h 26m
The PondCast
22h 26m
OSC
1d 1h
WardiTV European League
1d 4h
Replay Cast
1d 12h
Epic.LAN
2 days
CranKy Ducklings
2 days
Epic.LAN
3 days
CSO Contender
3 days
[ Show More ]
BSL20 Non-Korean Champi…
3 days
Bonyth vs Sziky
Dewalt vs Hawk
Hawk vs QiaoGege
Sziky vs Dewalt
Mihu vs Bonyth
Zhanhun vs QiaoGege
QiaoGege vs Fengzi
Sparkling Tuna Cup
3 days
Online Event
4 days
BSL20 Non-Korean Champi…
4 days
Bonyth vs Zhanhun
Dewalt vs Mihu
Hawk vs Sziky
Sziky vs QiaoGege
Mihu vs Hawk
Zhanhun vs Dewalt
Fengzi vs Bonyth
Esports World Cup
5 days
ByuN vs Astrea
Lambo vs HeRoMaRinE
Clem vs TBD
Solar vs Zoun
SHIN vs Reynor
Maru vs TriGGeR
herO vs Lancer
Cure vs ShoWTimE
Esports World Cup
6 days
Liquipedia Results

Completed

CSL 17: 2025 SUMMER
RSL Revival: Season 1
Murky Cup #2

Ongoing

JPL Season 2
BSL 2v2 Season 3
Copa Latinoamericana 4
Jiahua Invitational
BSL20 Non-Korean Championship
Championship of Russia 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters

Upcoming

CSL Xiamen Invitational
CSL Xiamen Invitational: ShowMatche
2025 ACS Season 2
CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
BSL Season 21
K-Championship
RSL Revival: Season 2
SEL Season 2 Championship
uThermal 2v2 Main Event
FEL Cracov 2025
Esports World Cup 2025
Underdog Cup #2
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
IEM Cologne 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.