
For the algorithm, Let Y be the gross pay and Z be the net pay. Form an equation of how one calculates the net pay from a gross pay of Y. Expression the equation in terms of Z. i.e. Y=Z + somevalues - somevalues. If you replace your Z(net pay) with some value, then you should get your gross pay. For PAYE there are some already set values in a table depending on the amount one is earning. You should be able to get that once you have the table. You can add an intermediate value called taxable Income say M where M=Y - NSSF - NHIF. Based on the Taxable Income get the PAYEE. Therefore Z=M-PAYEE But M=Y - NSSF - NHIF Therefore Z=Y - NSSF - NHIF - PAYEE Y= Z + NSSF + NHIF + PAYEE Depending on how the PAYEE table is try to express PAYEE in terms of the Z. I hope that helps. Regards, Richard Gathogo. On Mon, Jun 24, 2013 at 12:10 PM, Young techie <rriobs@gmail.com> wrote:
are you sure this is not homework?.....Digital students...
On Mon, Jun 24, 2013 at 12:00 PM, Shadrack Mwaniki < shadrack_mwaniki@yahoo.com> wrote:
@wilson, That is exactly what i want. Can you share the algorithm?
Regards Shadrack
------------------------------ *From:* Wilson Bandi <bandson67@gmail.com> *To:* Skunkworks Mailing List <skunkworks@lists.my.co.ke> *Cc:* Shadrack Mwaniki <shadrack_mwaniki@yahoo.com> *Sent:* Monday, June 24, 2013 11:14 AM *Subject:* Re: [Skunkworks] Calculation of basic pay given the net pay
http://www.aren.co.ke/calculators/grosscalc.htm
On Mon, Jun 24, 2013 at 11:12 AM, Odhiambo Washington <odhiambo@gmail.com
wrote:
I wouldn't bother with the gross pay:)
On 24 June 2013 11:09, Shadrack Mwaniki <shadrack_mwaniki@yahoo.com>wrote:
Hi Skunks, This problem is spinning my head yet i am sure someone may have done it. Company X netiates with an employee a net pay earning. They want to calculate backwards the gross pay based on the net pay. The deductions affecting the netpay are NSSF (200), NHIF(320)and the PAYE. How can i determine the PAYE and then the gross pay?
Regards Shadrack
_______________________________________________ skunkworks mailing list skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 "I can't hear you -- I'm using the scrambler."
_______________________________________________ skunkworks mailing list skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
-- Kind Regards,
Wilson B.
_______________________________________________ skunkworks mailing list skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
_______________________________________________ skunkworks mailing list skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke