Regulation of apoptosis represents a key parameter in all living organisms. In this paper, an input-induced logic-gated modular nanocalculator is designed to regulate cancer cell apoptosis by programmatically combining and connecting logic gate modules with different functions. Via rational design of the various logic gate modules of the nanocalculator, different apoptosis related operations including cancer cell targeting, apoptosis induction, and apoptosis monitoring could be performed. Importantly, each of these logic gate modules could independently perform apoptosis related YES logic operations when ran separately. After combining each YES logic gate module into a logic circuit and connecting it to the GO scaffold to construct a logic-gated nanocalculator, the input-induced logic-gated modular nanocalculator could selectively enter cancer cells and control the drug release to logically apoptosis (output), by performing AND logic gate operations when inputs (nucleolin and H+) were included at the same time. Moreover, evidence suggests that these efficient logical calculations proceed in cancer cell apoptosis regulation without the general limiations of lithography in nanotechnology. As such, this work provides a new vision for the construction of a logic-gated modular nanocalculator with logical calculation proficiency potentially useful in cancer therapy and the regulation of life.