The computer can be used to display a continuously updated list or plot of vessel position. The computer that accept input data from a number of different navigation systems, e.g., Loran , Satnav, Radar, Decca, Compass, Sextant with electrical output etc., can compute the position of a vessel relative to prerecorded objects. The celestial navigation system requires the computer to do not much calculation. Calculation are for trigonometeric, linear systems, finding roots of nonlinear equation and least square estimation etc, . In order to computerize the celestrial navigation system, these calculations must be programmed. The purpose of this thesis is to study the formulation, the design and the test of calculations of the coordinates of celestial bodies, the altitude correction and the solution of the navigational triangle processes.