Page 1 of 1
Ingame simple calculator
Posted: Mon May 11, 2015 12:57 pm
by joon
I know that there are a lot of calculators for recipes and factories, but I'm looking for a simple calculator ingame so I can calculate for example:
how many chests I need to store 100k of ores, of course you can guess with 2,4k per chest, but like to know the exact amount.
I don't like to alt-tab because it will deactivate the info on all the factories and have to hit it multiple times to get it active again after. Hope it's not too much work to get as a mod or even in vanilla.
Thanks,
Jhonny
Re: Ingame simple calculator
Posted: Mon May 11, 2015 5:01 pm
by ssilk
Re: Ingame simple calculator
Posted: Mon May 11, 2015 5:09 pm
by joon
Nice, that's good enough for me

Thanks for the help
Also nice to see that the Arrow-up give the last given commands as well
Re: Ingame simple calculator
Posted: Mon May 11, 2015 5:38 pm
by ssilk
I change this suggestion like so:
A new command in the console:
Which is equal to:
So this should work, too:
instead of
Code: Select all
/c game.player.print(game.evolutionfactor)
Re: Ingame simple calculator
Posted: Mon May 11, 2015 5:53 pm
by bobingabout
Except there's the question if game.player.print even works anymore, because game.player was replaced with an array, game.players, the equivelent command would be game.players[1].print in a single player game.
Though, does game.player still work when used in the console?
Re: Ingame simple calculator
Posted: Mon May 11, 2015 6:13 pm
by orzelek
bobingabout wrote:Except there's the question if game.player.print even works anymore, because game.player was replaced with an array, game.players, the equivelent command would be game.players[1].print in a single player game.
Though, does game.player still work when used in the console?
/c game.player works ok in console - it defaults to you. It doesn't work in scripts.
And I second the suggestion of adding /p - would make it much more handy.
Ingame Calculator
Posted: Thu Jan 04, 2018 4:31 pm
by DerMoritz98
Ingame Calculator
I would like to have an in-game Calculator.
This could maybe be solved by typing an mathematical formula in the chat, or more elegant and easier accessible by adding an extra button like the ones above the minimap, which then opens a calculator menu.
Why?
It would make it easier when you are playing Factorio at times like 2 o'clock and you can't think about the answer to 14*3, which I do sometimes need in-game.
Re: Ingame Calculator
Posted: Thu Jan 04, 2018 6:06 pm
by Caine
In my experience, Factorio handles alt+tab really well. In no way is it going to have a better calculator than an external program can provide.
Re: Ingame simple calculator
Posted: Thu Jan 04, 2018 6:28 pm
by Koub
[Koub] Merged into older topic with same suggestion
Re: Ingame simple calculator
Posted: Thu Jan 04, 2018 6:49 pm
by DerMoritz98
Yea, but my PC's hard drive is not the fastest and when you are using single monitor it's really annoying to tab out every here and there. An in-game calculator would make this redundant and often when it's really late (or early, depends on your definition) you have to tab out and in more than once, because while you tabbed out, you forgot the answer.
It would also be a nice gimmick which would make Factorio more awesome than it's now.
And would be much handier than the console.
Re: Ingame simple calculator
Posted: Thu Jan 04, 2018 7:27 pm
by pleegwat
If you have a smartphone, it almost certainly includes a calculator app as well.
Re: Ingame simple calculator
Posted: Fri Jan 05, 2018 12:58 pm
by olafthecat
I have a Casio scientific calculator and that seems to do the trick.
Re: Ingame simple calculator
Posted: Sun Jan 19, 2025 5:13 pm
by burninghey
Sorry for necro'ing old thread, but it's still missing.
/c game.player.print(1234 * 5678)
disables achievments..
Re: Ingame simple calculator
Posted: Sun Jan 19, 2025 10:27 pm
by DUBLGUNZ
You can also use the Arithmetic combinator to do

- 01-19-2025, 15-26-20.png (125.75 KiB) Viewed 2710 times
your calculations. It doesn't display results with large numbers with all digits but would work in many instances and won't disable achievements.
Re: Ingame simple calculator
Posted: Mon Jan 20, 2025 12:41 am
by angramania
burninghey wrote: Sun Jan 19, 2025 5:13 pm
Sorry for necro'ing old thread, but it's still missing.
You can use any text field for it. Was introduced in
https://www.factorio.com/blog/post/fff-388
Re: Ingame simple calculator
Posted: Fri Jan 31, 2025 2:30 pm
by neoChaos12
Necro'ing because I was looking for something like this and found this topic. I have seen and understand all the alternatives suggested here, and they are all perfectly valid. I just have a strong feeling that the ability to do exactly what one would with text fields in a signal selector should be accessible by, say, typing in "=1024*32" into the console/chat window. Just a matter of intuitive elegance, nothing more. Everything else here, while perfectly functional, does give off the feeling of a janky workaround for what feels like a very basic piece of functionality for Factorio (yes, I've been using calculator mods of all sorts for factorio for a while).
Re: Ingame simple calculator
Posted: Fri Jan 31, 2025 5:14 pm
by Fabriken AGI
Not factorio specific tip, but you could use
Microsoft PowerToys for that.
If on Windows. Install that and press Ctrl+Space.
https://learn.microsoft.com/en-us/windo ... ys/install
- It is fully open source and plugin based, so nothing would stop someone from implementing a satisfactory-like menu that opens factoriopedia and gives search results in a similar way, until we have this functionality in game
The penguin-bois probably know of some similar tools. The Mac-guys already has this functionality in the OS level.

- Microsoft PowerToys Run
- powertoys.png (17.13 KiB) Viewed 2349 times