Generally, in the cricket World Gary Sobers is considered the best all-rounder ever ,closely followed by Jaques Kallis.Howevere there was never an era when there were so many great all-rounders as the 1980's with Imran,Botham,Kapil and Hadlee.Of the 4 Hadlee and Imran were great fast bowlers ,while Kapil Dev and Ian botham combined batting ability more in their peak years as a fast bowler. Only Imran was genuinely quick of the 4.
Imran Khan eclipsed Botham as a bowler but did not amass as may runs as Botham in the peak of his batting career. The highlight of Botham's career at his peak was his performance in the 1980 Jubilee test match in Mumbai and the 1981 home Ashes series.He made the impact of a tornado in those editions, singlehandedly winning games for England. Above all Botham rescued England from the most precarious positions like when scoring 114 runs from 58-5 in the Jubilee test and 149 not out at 133-7 at Leeds after England followed on 227 runs behind .He literally ressurected England from the grave and his 1981 Ashes performance is arguably the best ever by a cricketer.However Imran Khan was a far more consistent fast bowling match-winner as he displayed in Australia, West Indies,England and at home.In both series he played against Ian Botham in England in 1982 and 1987 he overshadowed his rival in every department. In his paek period in 1982 Botham was outclassed by Imran who averaged 53 with that and captured 21 wickets at an average of 18.53 runs. Above all he led his team and only bad umpiring decisions cost Pakistan the series in 1982 which he almost single-handedly would have won. Against India in 1982-83 he gave the best performance ever by fast bowler in a series in the sub-continent or arguably anywhere in the world  taking 40 wickets at 13.93 and averaging over 60 with the bat.At his best Botham has not equalled Imran as a pace bowler in England, Australia or West Indies.The factor in favour of Botham was that he turned matches  and silmunataneously with both bat and ball considerably more than Imran.Botham, took 5 wickets and scored a century in 5 test matches-a record. He also scored 14 test hundreds, against Imran Khan's 6.Botham was a better match-winner with the bat and could dominate bowling more than Imran could who became a very good batsman late in his career.Then again at his peak as a batsman from 1988-1992  Imran Khan averaged around 60 runs with the bat.Botham also had an adavantage of playing 2nd class Pakistani and Australian teams whose star players signed in for Kerry Packer cricket. He would not have otherwise had such impressive statistics in the 1978 series against Pakistan or the 1978-79 tour of Australia. Above all Botham,unlike Imran Khan hardly succeeded in the West Indies and even at home gave only one or two great performances. Imran has a test hundred against the West Indies to his credit.Although Botham has more aggregate runs and better strike rate ,Imrarn has a better batting average than Botham in his peak years as an all-rounder or as a batsman in his peak period.Imran's bowling almost won Pakistan their 1st series in the Caribbean in 1988 ,but dubious umpiring decisions cost his team victory in the series. Neverthless he played an instrumental role in Pakistan's  1st ever series wins in India and England. His batting with a consistent string of scores played a crucial role in 1987 in India while in England in 1987 his bowling of 10-77 at Leeds and 118 runs at Oval played a decisive part.
The most important question is not who was the better cricketer or all-rounder overall.Imran Khan would win the issue as a cricketer with his captaincy record and arguably as an all-rounder. However was the Ian Botham of 1977-92 a better all-rounder than Imran Khan of 1980-88? Personally if Gary Sobers was already in the team then I would prefer Imran to join him than Botham.As Alan Davidson stated that it is fast bowlers who are the real match-winners and great fast bowling allrounders were better match-winners than batting all-rounders.However without Gary Sobers at no 6 position I may prefer Botham with his ability to turn games with both bat and ball. Then again Imran Khan was arguably the best skipper of the 1980’s so he would win a place on that merit. It may be fair to say that the Botham of the 1981 Ashes and the 1980 Jubilee test at Mumbai was the only time he morally won over Imran Khan.
In Richard Sydenham’s book of all-time xi’s selected by 100 legends  about 5 players have chosen both Imran and Botham like Saeed Anwar,Dilip Vengsarkar,Abdul Qadir etc.Most West Indian cricketers chose Imran while South Africans and Englsih stalwarts chsoe Botham like Mike Procter,Shaun Pollock,Alan Donlad,Barry Richards.Jeff ThomsonetcIt is significant that Richi.e Benaud chose Imran Khan as well as Kapil Dev,Ravi Shastri .
Ian Botham’s career stats are below
 
A career of two distinct halves
 	Runs	Average	100s/ 50s	Wickets	Average	5WI/ 10WM
First 51 Tests	2833	38.80	11/ 10	231	23.06	19/ 4
Next 37 Tests	1976	31.36	3/ 11	135	33.85	8/ 0
Last 14 Tests	391	20.57	0/ 1	17	57.52	0/ 0
Career (102 Tests)	5200	33.54	14/ 22	383	28.40	27/
During the six years when Botham was at his peak, he was the best of the four allrounders going around during that period. Imran Khan, Kapil Dev and Richard Hadlee were tremendous too - though Hadlee's best was to come later - but none of them matched Botham's consistency with bat and ball. During this period, the difference between Botham's batting and bowling average was 12.59. Imran and Hadlee had better bowling averages, but neither matched Botham as a batsman (though Imran's best as a batsman was to come later).
The four leading allrounders between Jan 1977 and Dec 1982
Player	Tests	Runs	Average	100s/ 50s	Wickets	Average	5WI/ 10WM	Diff in ave
Ian Botham	58	3229	37.11	11/ 13	262	24.52	20/ 4	12.59
Imran Khan	37	1429	29.16	1/ 4	186	21.79	13/ 3	7.37
Kapil Dev	44	1904	32.82	2/ 11	172	29.68	13/ 1	3.14
Richard Hadlee	23	767	21.91	1/ 4	114	23.22	11/ 2	-1.31
During his peak years in Test cricket, Imran was easily the best allrounder among his peers. In the nine years between 1980 and 1988, his bowling average of 17.77 was almost 22 lesser than his batting average - the difference was clearly the best among those with 1500 runs and 100 wickets during this period. Hadlee's bowling performances were exceptional during this period, but he couldn't quite match up to Imran with the bat, while both Botham and Kapil had far lesser success with the ball.
Statistics of Imran Khan
Top allrounders between 1980 and 1988 (Qual: 1500 runs, 100 wickets)
Player	Tests	Runs	Average	100s/ 50s	Wickets	Average	5WI/ 10WM	Diff in ave
Imran Khan	48	2028	39.76	4/ 10	236	17.77	18/ 5	21.99
Richard Hadlee	51	1987	31.04	2/ 10	284	19.03	28/ 7	12.01
Ian Botham	72	3989	34.38	10/ 19	255	31.83	15/ 2	2.55
Kapil Dev	72	3103	31.98	5/ 16	242	30.05	14/ 2	1.93
Ravi Shastri	61	2702	34.64	7/ 10	132	38.24	2/ 0	-3.60
Highest batting averages between Jan 1, 1987 and Jan 6, 1992 (Qual: 1500 runs)
Batsman	Tests	Runs	Average	100s/ 50s
Martin Crowe	24	2186	60.72	8/ 8
Imran Khan	28	1552	59.69	4/ 9
Graham Gooch	32	3282	55.62	8/ 18
Andrew Jones	20	1703	54.93	5/ 6
Javed Miandad	35	2512	54.60	8/ 10
Mark Taylor	28	2565	53.43	7/ 17
Robin Smith	28	2118	52.95	6/ 15
Shoaib Mohammad	32	2175	50.58	7/ 8
One of the highlights of Imran's career was his battles against the best team of his times, West Indies. As a batsman he wasn't as effective against them, but as a bowler he was superb, taking 80 wickets at 21.18. Comparing the stats of the four superstar allrounders of that era against West Indies, it's clear that three of them raised their games against them - Hadlee and Kapil too had terrific numbers against them - but the disappointment was Botham, who struggled with both bat and ball.
The four allrounders against West Indies
Player	Tests	Runs	Average	100s/ 50s	Wickets	Average	5WI/ 10WM
Imran Khan	18	775	27.67	1/ 3	80	21.18	6/ 1
Richard Hadlee	10	389	32.41	1/ 1	51	22.03	4/ 1
Kapil Dev	25	1079	30.82	3/ 4	89	24.89	4/ 1
Ian Botham	20	792	21.40	0/ 4	61	35.18	3/ 0
Perhaps even more impressive than his individual performances against West Indies was the manner in which Imran inspired his team to raise their level against them. He led them on three occasions versus West Indies between 1985 and 1990, and each series was a classic, with each team winning a Test every time. Imran the bowler was outstanding in two of those series, taking 18 wickets at 11.05 in 1986, and 23 wickets at 18.08 in 1988. During that period Pakistan was the only team to win more than one Test against West Indies. (In complete contrast, England won one and lost 11 Tests against them during this period.)