wiring calculate button