Type a formula, with a charge if it has one, and the electron count comes back with the arithmetic that produced it — protons from the formula, then the charge applied.
The other tools here work the same way on the neighbouring questions: neutrons from an isotopic formula, abundances from an atomic mass, Lewis structures checked atom by atom, and oxidation states from the sum rule.
Count electrons and neutrons, work out isotopic abundances, draw Lewis structures and assign oxidation states, each with a calculator and a graded series of questions. The tools need JavaScript, because the chemistry runs in your browser.