rank :                  prime minister :               party :   assumed office :      left office : total time in office :
0        1  sir robert menzies (1894 - 1978)      united australia      26 april 1939     29 august 1941    18 years , 160 days
1        1  sir robert menzies (1894 - 1978)               liberal   19 december 1949    26 january 1966    18 years , 160 days
2        2           john howard (born 1939)               liberal      11 march 1996    3 december 2007      11years , 267days
3        3             bob hawke (born 1929)                 labor      11 march 1983   20 december 1991       8years , 284days
4        4        malcolm fraser (born 1930)               liberal   11 november 1975      11 march 1983       7years , 120days
5        5        billy hughes (1862 - 1952)                 labor    27 october 1915    9 february 1923       7years , 105days
6        5        billy hughes (1862 - 1952)        national labor    27 october 1915    9 february 1923       7years , 105days
7        5        billy hughes (1862 - 1952)           nationalist    27 october 1915    9 february 1923       7years , 105days
8        6        joseph lyons (1879 - 1939)      united australia     6 january 1932       7 april 1939        7years , 91days
9        7       stanley bruce (1883 - 1967)           nationalist    9 february 1923    22 october 1929       6years , 255days
10       8       alfred deakin (1856 - 1919)         protectionist  24 september 1903      27 april 1904     4 years , 313 days
11       8       alfred deakin (1856 - 1919)         protectionist        5 july 1905   13 november 1908     4 years , 313 days
12       8       alfred deakin (1856 - 1919)  commonwealth liberal        2 june 1909      29 april 1910     4 years , 313 days
13       9       andrew fisher (1862 - 1928)                 labor   13 november 1908        2 june 1909     4 years , 297 days
14       9       andrew fisher (1862 - 1928)                 labor      29 april 1910       24 june 1913     4 years , 297 days
15       9       andrew fisher (1862 - 1928)                 labor  17 september 1914    27 october 1915     4 years , 297 days
16      10         ben chifley (1885 - 1951)                 labor       13 july 1945   19 december 1949       4years , 159days
17      11          paul keating (born 1944)                 labor   20 december 1991      11 march 1996        4years , 82days
18      12         john curtin (1885 - 1945)                 labor     7 october 1941        5 july 1945       3years , 271days
19      13         john gorton (1911 - 2002)               liberal    10 january 1968      10 march 1971        3years , 59days
20      14         julia gillard (born 1961)                 labor       24 june 2010       27 june 2013         3years , 3days
21      15         gough whitlam (born 1916)                 labor    5 december 1972   11 november 1975       2years , 341days
22      16            kevin rudd (born 1957)                 labor    3 december 2007       24 june 2010     2 years , 286 days
23      16            kevin rudd (born 1957)                 labor       27 june 2013  18 september 2013     2 years , 286 days
24      17   sir edmund barton (1849 - 1920)         protectionist     1 january 1901  24 september 1903       2years , 266days
25      18       james scullin (1876 - 1953)                 labor    22 october 1929     6 january 1932        2years , 76days
26      19         harold holt (1908 - 1967)               liberal    26 january 1966   19 december 1967        1year , 327days
27      20     william mcmahon (1908 - 1988)               liberal      10 march 1971    5 december 1972        1year , 270days
28      21         joseph cook (1860 - 1947)  commonwealth liberal       24 june 1913  17 september 1914         1year , 85days
29      22         george reid (1845 - 1918)            free trade     18 august 1904        5 july 1905       0years , 321days
30      23        chris watson (1867 - 1941)                 labor      27 april 1904     18 august 1904       0years , 113days
31      25           tony abbott (born 1957)               liberal  18 september 2013          incumbent       0years , 136days
32      24       arthur fadden (1894 - 1973)               country     29 august 1941     7 october 1941        0years , 39days
33      26         john mcewen (1900 - 1980)               country   19 december 1967    10 january 1968        0years , 22days
34      27      sir earle page (1880 - 1961)               country       7 april 1939      26 april 1939        0years , 19days
35      28         frank forde (1890 - 1983)                 labor        6 july 1945       13 july 1945         0years , 7days

Table as JSON:
{"rank :":{"0":1,"1":1,"2":2,"3":3,"4":4,"5":5,"6":5,"7":5,"8":6,"9":7,"10":8,"11":8,"12":8,"13":9,"14":9,"15":9,"16":10,"17":11,"18":12,"19":13,"20":14,"21":15,"22":16,"23":16,"24":17,"25":18,"26":19,"27":20,"28":21,"29":22,"30":23,"31":25,"32":24,"33":26,"34":27,"35":28},"prime minister :":{"0":"sir robert menzies (1894 - 1978)","1":"sir robert menzies (1894 - 1978)","2":"john howard (born 1939)","3":"bob hawke (born 1929)","4":"malcolm fraser (born 1930)","5":"billy hughes (1862 - 1952)","6":"billy hughes (1862 - 1952)","7":"billy hughes (1862 - 1952)","8":"joseph lyons (1879 - 1939)","9":"stanley bruce (1883 - 1967)","10":"alfred deakin (1856 - 1919)","11":"alfred deakin (1856 - 1919)","12":"alfred deakin (1856 - 1919)","13":"andrew fisher (1862 - 1928)","14":"andrew fisher (1862 - 1928)","15":"andrew fisher (1862 - 1928)","16":"ben chifley (1885 - 1951)","17":"paul keating (born 1944)","18":"john curtin (1885 - 1945)","19":"john gorton (1911 - 2002)","20":"julia gillard (born 1961)","21":"gough whitlam (born 1916)","22":"kevin rudd (born 1957)","23":"kevin rudd (born 1957)","24":"sir edmund barton (1849 - 1920)","25":"james scullin (1876 - 1953)","26":"harold holt (1908 - 1967)","27":"william mcmahon (1908 - 1988)","28":"joseph cook (1860 - 1947)","29":"george reid (1845 - 1918)","30":"chris watson (1867 - 1941)","31":"tony abbott (born 1957)","32":"arthur fadden (1894 - 1973)","33":"john mcewen (1900 - 1980)","34":"sir earle page (1880 - 1961)","35":"frank forde (1890 - 1983)"},"party :":{"0":"united australia","1":"liberal","2":"liberal","3":"labor","4":"liberal","5":"labor","6":"national labor","7":"nationalist","8":"united australia","9":"nationalist","10":"protectionist","11":"protectionist","12":"commonwealth liberal","13":"labor","14":"labor","15":"labor","16":"labor","17":"labor","18":"labor","19":"liberal","20":"labor","21":"labor","22":"labor","23":"labor","24":"protectionist","25":"labor","26":"liberal","27":"liberal","28":"commonwealth liberal","29":"free trade","30":"labor","31":"liberal","32":"country","33":"country","34":"country","35":"labor"},"assumed office :":{"0":"26 april 1939","1":"19 december 1949","2":"11 march 1996","3":"11 march 1983","4":"11 november 1975","5":"27 october 1915","6":"27 october 1915","7":"27 october 1915","8":"6 january 1932","9":"9 february 1923","10":"24 september 1903","11":"5 july 1905","12":"2 june 1909","13":"13 november 1908","14":"29 april 1910","15":"17 september 1914","16":"13 july 1945","17":"20 december 1991","18":"7 october 1941","19":"10 january 1968","20":"24 june 2010","21":"5 december 1972","22":"3 december 2007","23":"27 june 2013","24":"1 january 1901","25":"22 october 1929","26":"26 january 1966","27":"10 march 1971","28":"24 june 1913","29":"18 august 1904","30":"27 april 1904","31":"18 september 2013","32":"29 august 1941","33":"19 december 1967","34":"7 april 1939","35":"6 july 1945"},"left office :":{"0":"29 august 1941","1":"26 january 1966","2":"3 december 2007","3":"20 december 1991","4":"11 march 1983","5":"9 february 1923","6":"9 february 1923","7":"9 february 1923","8":"7 april 1939","9":"22 october 1929","10":"27 april 1904","11":"13 november 1908","12":"29 april 1910","13":"2 june 1909","14":"24 june 1913","15":"27 october 1915","16":"19 december 1949","17":"11 march 1996","18":"5 july 1945","19":"10 march 1971","20":"27 june 2013","21":"11 november 1975","22":"24 june 2010","23":"18 september 2013","24":"24 september 1903","25":"6 january 1932","26":"19 december 1967","27":"5 december 1972","28":"17 september 1914","29":"5 july 1905","30":"18 august 1904","31":"incumbent","32":"7 october 1941","33":"10 january 1968","34":"26 april 1939","35":"13 july 1945"},"total time in office :":{"0":"18 years , 160 days","1":"18 years , 160 days","2":"11years , 267days","3":"8years , 284days","4":"7years , 120days","5":"7years , 105days","6":"7years , 105days","7":"7years , 105days","8":"7years , 91days","9":"6years , 255days","10":"4 years , 313 days","11":"4 years , 313 days","12":"4 years , 313 days","13":"4 years , 297 days","14":"4 years , 297 days","15":"4 years , 297 days","16":"4years , 159days","17":"4years , 82days","18":"3years , 271days","19":"3years , 59days","20":"3years , 3days","21":"2years , 341days","22":"2 years , 286 days","23":"2 years , 286 days","24":"2years , 266days","25":"2years , 76days","26":"1year , 327days","27":"1year , 270days","28":"1year , 85days","29":"0years , 321days","30":"0years , 113days","31":"0years , 136days","32":"0years , 39days","33":"0years , 22days","34":"0years , 19days","35":"0years , 7days"}}