ISEC (Insulin SECretion) is a computer program which calculates pre-hepatic insulin secretion from plasma C-peptide measurements. The program uses a regression (population) model to derive parameters of C-peptide kinetics from subject's gender, type (normal, obese, non-insulin dependent diabetes mellitus), age, weight, and height. Insulin secretion is calculated as a piece-wise constant (step) function with flexible step length allowing for a fine resolution of the secretion profile between measurements. A constrained regularisation method of deconvolution is employed to carry out the calculations. The calculated profile satisfies three properties: (i) it fits the measurement within the given level of the measurement error, (ii) it is non-negative, and (iii) it has a minimum value of a regularisation criterion (norm of second differences) which quantifies the degree of deviation of the secretion profile from a straight line. Both theoretical aspects and specific features related to ISEC are considered. To exemplify the use of ISEC, pre-hepatic insulin secretion is calculated during meal tolerance test, frequently sampled intravenous glucose tolerance test, hyperinsulinaemic euglycaemic glucose clamp, and basal conditions with frequent sampling.