The price for a taxi from Faro Airport to Faro station is currently in the order of between
€ 11.00 and € 13.00 plus possibly bag charge.
The price of train a train ticket from Faro to Lagos is currently €6,15 per person.
As you do not indicate where you are staying in Lagos it is difficult to price taxis but lets add € 20.00.
Total Cost: 5 x €6.15 + € 13.00 + € 20.00 = € 63.75
Lets say € 65.00
Currently, quoted prices for Faro Airport to Lagos for a six seater taxi is € 90 to € 110 & possibly bag charge.
So the costs of travelling by train are less.
Two provisos, however:
1) There are often no taxis waiting at Lagos station when trains arrive.
2) At present, the last train leaves Faro for Lagos at 20:11
You may find a transfer service more appropriate:
For example:
http://www.low-cost-transfers.com/faro-airport/index.php
are currently quoting € 77.50 for transfer of 5 people directly from Faro Airport to Lagos.
This avoids the hassle of 2 cabs and will take you to the door.